164、页面从屏幕飞出

164、页面从屏幕飞出

脚本说明:

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

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

function expand() {

for(x = 0; x < 50; x++) {

window.moveTo(screen.availWidth * -(x - 50) / 100, screen.availHeight * -(x - 50) / 100);

window.resizeTo(screen.availWidth * x / 50, screen.availHeight * x / 50);

}

window.moveTo(0,0);

window.resizeTo(screen.availWidth, screen.availHeight);

}

//  End -->

</script>

<a href="http://www.7stk.com" onClick="expand();">网页特效代码</a>

 

Write a comment

Comments: 0