- 3/5
- 1
- 2
- 3
- 4
- 5
织梦DedeCMS视频教程买空间 租服务器 选网硕互联! 无忧站长工具,百度权重一键全查!
切换效果,您可以先修改部分代码再运行.
<HTML> <HEAD> <TITLE>切换效果-模板无忧www.mb5u.com</TITLE> </HEAD> <body bgcolor="#999999"> <SCRIPT LANGUAGE="JavaScript"> function set_menu(x) { if (x.style.visibility=="hidden") { x.filters.revealTrans.Transition=Math.floor(Math.random()*23) x.filters.revealTrans.apply(); x.style.visibility="visible"; x.filters.revealTrans.play(); } else { x.filters.revealTrans.Transition=Math.floor(Math.random()*23) x.filters.revealTrans.apply(); x.style.visibility="hidden" ; x.filters.revealTrans.play(); } } </script> <div id="layer1" style="position:absolute; width:360px; height:240px; background-color: #336699; left: 50; top: 50; visibility: visible;FILTER: revealTrans(Duration=0.5,Transition=23);z-index:10"></div> <div id="layer2" style="position:absolute; width:360px; height:240px; background-color: #000000; left: 50; top: 50;z-index:1"></div> <SCRIPT LANGUAGE="JavaScript"> setInterval("set_menu(layer1)",1000) </SCRIPT> </body> </HTML>