爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
有点像蜘蛛侠的鼠标
有点像蜘蛛侠的鼠标
日期:2014-05-18 浏览次数:20676 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<html> <head> <title>爱易网网页特效演示,有点像蜘蛛侠的鼠标</title> </head><BODY> <!--将以下代码加入HTML的<Body></Body>之间--> <STYLE> .disableHscroll{ width:100%;overflow-x:hidden;overflow-y:scroll; } v\:* { BEHAVIOR: url(#default#VML) } </STYLE><SCRIPT> var defaultcolor="#999999" var lineweighthighlight=1 var lineweightnormal=1 var distancetomouse=0 var mousepos_x=0 var mousepos_x=0 var marginleft=0 var margintop=0 var marginbottom=0 var marginright=0 var margincenterx var margincentery var mousepos_x=0 var mousepos_x=0 if (document.all&&window.print){ document.write('<div id="bodycontent" style="position:relative">') } function initiateanimation(){ marginbottom=document.body.clientHeight marginright=document.body.clientWidth margincenterx=Math.floor(marginright/2) margincentery=Math.floor(marginbottom/2) rectangulartopleft.to=marginleft+","+margintop rectangulartopright.to=marginright+","+margintop rectangularbottomleft.to=marginleft+","+marginbottom rectangularbottomright.to=marginright+","+marginbottom rectangulartop.to=margincenterx+","+margintop rectangularright.to=marginright+","+margincentery rectangularbottom.to=margincenterx+","+marginbottom rectangularleft.to=marginleft+","+margincentery rectangulartopleft.strokecolor=defaultcolor rectangulartopright.strokecolor=defaultcolor rectangularbottomleft.strokecolor=defaultcolor rectangularbottomright.strokecolor=defaultcolor rectangulartop.strokecolor=defaultcolor rectangularright.strokecolor=defaultcolor rectangularbottom.strokecolor=defaultcolor rectangularleft.strokecolor=defaultcolor} function msover(thiscolorhighlight){ if(document.all&&window.print){ rectangulartopleft.strokecolor=thiscolorhighlight rectangulartopright.strokecolor=thiscolorhighlight rectangularbottomleft.strokecolor=thiscolorhighlight rectangularbottomright.strokecolor=thiscolorhighlight rectangulartop.strokecolor=thiscolorhighlight rectangularright.strokecolor=thiscolorhighlight rectangularbottom.strokecolor=thiscolorhighlight rectangularleft.strokecolor=thiscolorhighlight rectangulartopleft.strokeweight=lineweighthighlight rectangulartopright.strokeweight=lineweighthighlight rectangularbottomleft.strokeweight=lineweighthighlight rectangularbottomright.strokeweight=lineweighthighlight rectangulartop.strokeweight=lineweighthighlight rectangularright.strokeweight=lineweighthighlight rectangularbottom.strokeweight=lineweighthighlight rectangularleft.strokeweight=lineweighthighlight } } function msout(){ if(document.all&&window.print){ rectangulartopleft.strokecolor=defaultcolor rectangulartopright.strokecolor=defaultcolor rectangularbottomleft.strokecolor=defaultcolor rectangularbottomright.strokecolor=defaultcolor rectangulartop.strokecolor=defaultcolor rectangularright.strokecolor=defaultcolor rectangularbottom.strokecolor=defaultcolor rectangularleft.strokecolor=defaultcolor rectangulartopleft.strokeweight=lineweightnormal rectangulartopright.strokeweight=lineweightnormal rectangularbottomleft.strokeweight=lineweightnormal rectangularbottomright.strokeweight=lineweightnormal rectangulartop.strokeweight=lineweightnormal rectangularright.strokeweight=lineweightnormal rectangularbottom.strokeweight=lineweightnormal rectangularleft.strokeweight=lineweightnormal } } function momou
上一篇:狡猾的按钮特效
下一篇:跟随鼠标的时钟
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
惠普中国转型只是缩影 未来开展不可预期
Facebook思科联手推免费WiFi 欲覆盖全美
只有切到刚需痛点,漫画APP才能走下去
奇虎360证明了“惟平台化才能生存”是谬论,中国互联网不能少了周鸿祎
中国大陆人口13.7亿 光棍越来越多
iPhone 6将于10月17日内地上市:售5288元起
微软最后的救命稻草Win 8份额继续上升
凑足了升级ios8所需要的5.7G空间,没料到“苹果”却变成“板砖”,iOS8还能一起愉快玩耍吗?
宽带中国战略明确 运营商建设成本超6000亿
推荐阅读
更多>
美国电影协会在华起诉迅雷侵权 要求赔偿并道歉
猎豹移动上市押海外市场 与小米有合作空间
苹果大中华区业绩回暖 中移动贡献或低于预期
英特尔技术高管离任 电视业务或受影响
史玉柱卸任巨人网络CEO 继位人选引猜想
不提老罗,不说情怀,仅从十四个投诉问题入手谈锤子手机
网易云音乐能否为丁磊拿到移动互联网门票?
薛蛮子取保后首次发微博表示:辜负你们了
高通反垄断案下月有望落定
网曝富士康500万iphone遭退货是确证的事
腾讯微信昨晚再现大规模故障 多地受到影响
亚马逊Fire Phone:请别拿我跟苹果三星比
苹果20年以来首次发债 融资170亿美元
中移动业绩增长趋缓 目光转向海外市场
华为变阵:任正非调整三大业务布局
任正非:喜马拉雅山的水为什么不能流入亚马逊河?
网络文学竞争白热化 百度多酷文学网上线
看蜗牛如何放水养鱼,盘活生态系统
微信收费形式三选一 腾讯或变身运营商
工信部或本月17日向联通电信颁发FDD牌照