96、按钮打开全屏窗口

96、按钮打开全屏窗口

脚本说明:

把如下代码加入<body>区域中

<script>

<!--

function winopen(){

var targeturl="http://www.7stk.com"

newwin=window.open("","","scrollbars")

if (document.all){

newwin.moveTo(0,0)

newwin.resizeTo(screen.width,screen.height)

}

newwin.location=targeturl

}

//-->

</script>

  <input type="button" onClick="winopen()" value="网页特效代码" name="button">

 

Write a comment

Comments: 0