说明:用按钮打开一个全屏窗口
效果:
代码:<input type="button" onClick="www_xiagoo_com()" value="试试看" name="button">
<script>
<!--
function www_xiagoo_com(){
var targeturl="http://www.xiagoo.com"
newwin=window.open("","","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>
|