一些收集整理非常不错的JS效果代码
软件发布
|
下载排行
|
最新软件
IT技术
IT百科
软件教程
PS教程
游戏攻略
搜索
当前位置:
首页
→
IT学院
→
IT技术
→
一些收集整理非常不错的JS效果代码
2020-05-12
我要评论
按A就会跳转到练习的网页,请按A
<script language="JavaScript"> <script type="text/javascript"> lastNo=0 function re(menu_no){ if(lastNo!=menu_no){ cur=menu_no+1 lastNo=menu_no rest() }else{ cur=100 } document.getElementById("board"+menu_no).style.visibility="visible" } function rest(){ for(i=1;i<=4;i++){ document.getElementById("hor"+i).style.top=20*i; document.getElementById("board"+i).style.visibility="hidden" } menu_num=4; act=1 height=120+20 speed=0; posY=0; } function huke(){ if(act==1&&cur<100){ speed=(height-posY)*0.69+speed*0.6 posY+=speed for(i=cur;i<=menu_num;i++){ document.getElementById("hor"+i).style.top=posY+(i-2)*20 } if(Math.abs(height-posY)<0.5){ for(i=cur;i<=menu_num;i++){ document.getElementById("hor"+i).style.top=height+(i-2)*20 } act=0 } setTimeout("huke()",50) } } </script>
News
Populor
Sports
Woman
1.由AS而想起Javascript 2.用Jscript写ASP有没有先天性的不足? 3.没有了。
1.xhtml+css真的来了吗? 2.Flash取代传统网站 3.Flash何时才能连接数据库?
1.程序员与小姐的10个相同。 2.中国的程序员与中国的足球?
1.二十一世纪最缺的是什么?人才
http://www.gamvan.com
http://www.gamvan.com