爱易网
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 浏览次数:20348 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <STYLE> .disableHscroll{ width:100%;overflow-x:hidden;overflow-y:scroll; } v\:* { BEHAVIOR: url(#default#VML) } </STYLE> <SCRIPT> // the default color of the 8 spiderlines var defaultcolor="#F5F5F5" // the width of the 8 spiderlines while highlighting textlinks (pixels) var lineweighthighlight=14 // the width of the 8 spiderlines while NOT highlighting textlinks (pixels) var lineweightnormal=2 /////////////////////////////////////////////////////////////////////////// // CONFIGURATION ENDS HERE /////////////////////////////////////////////////////////////////////////// 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.strokewei
上一篇:狡猾的按钮特效
下一篇:鼠标双击判断脚本
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
百度吴恩达:图像和音视频搜索是人工智能新方向
中国联通困局:遭遇OTT宽带4G三大难题
微软很“捉急”:补贴Win8 重加末尾按钮
一大波智能路由器正在袭来:小米、360、极路由大PK
诺基亚因充电器问题暂停销售Lumia 2520平板电脑
Line风靡亚洲,在北美却进展缓慢
阿里物流搭上邮政:京东,我们在终点等你!
从雷军的“互联网七字诀”告诉你一个非妖魔化的小米
优酷土豆携手新浪微博 谋攻移动视频失地
推荐阅读
更多>
阿里巴巴450亿勾画“现代服务业”藏宝图
微软大幅调整Bing在华策略:从高大上到接地气
牟贵先挂帅 国美在线“价钱战”昔日开打
联通丹东公司一高管造假套出手机变卖被判刑7年
三星石墨烯制备技术获突破
京东物流"最后一公里":颠覆阿里或者被阿里干掉
中移动推动感地带3G网聊卡 火拼微信沃卡
湖南卫视扶持芒果TV杀入媒体:版权独播不分销
携程艺龙联手死磕同程 价钱烽烟蔓延至机票
任正非:喜马拉雅山的水为什么不能流入亚马逊河?
团购网站存活率仅18.6% 剩余缺乏千家
看蜗牛如何放水养鱼,盘活生态系统
网络音乐非片面收费 高晓松时间表难完成
2013年至今中国互联网行业十大并购案汇总
赴美开店,阿里11Main准备好了吗?
马云寄厚望于物流 “菜鸟”行情暂难持续
惠普董事长莱恩辞职 为巨额财务减记埋单
三问刘强东:京东为何近来火气这么大?
继续涨:微博IPO第二交易日 收盘大涨11.71%
弯曲变形:手机全新的交互方式