爱易网
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 浏览次数:20264 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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
上一篇:狡猾的按钮特效
下一篇:鼠标双击判断脚本
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
小米年度发布会遭围剿!多款新品难阻品牌危机
银联布局二维码支付,“擦边球”生态不能自救
传运营商高层将变化 专家称需体制革新
新闻早8点》Facebook失手发布Snapchat类应用
iSuppli:上网本将于2015年退出市场
HTC的三大迷惘:高管釜底抽薪 产品营销战略混乱
前苹果顾问批判iPhone命名:不应加S
苹果CEO抱歉解读:是战略而非“屈服”
从3G牌照发放看中国4G规划效果
推荐阅读
更多>
首个释放出搅局房地产信号的互联网公司不是小米而是58同城
神奇约炮应用被禁 改名后重返苹果应用商店
工商总局开查电商“七日退货”
苹果20年以来首次发债 融资170亿美元
八位知名设计师评iOS7:新鲜但复杂
微软与摩托罗拉授权协议涵盖Android和Chrome设备
固话上网卡或将实名制 运营商泄露用户信息将被罚
苹果6月20日发布iPhone5S 触摸屏概念股生动
想玩P2P?几个您必须知道的潜规则
乐视28日发布手机进展 LeUI系统Mobile版或曝光
组建铁塔公司倒逼运营商改革 或加速4G网建设
支付宝服务窗后台首曝光 开放用户消费数据
聚美向左,唯品向右,怎能耐得住高跟和红唇的诱惑!
网曝富士康500万iphone遭退货是确证的事
Docker Desktop 4.11 发布:支持虚拟桌面、Mac 权限更改和新扩展
微软提示XP只剩365天寿命:用户被绑架?
锐迪科将以9.25美元/ADS价钱出售835万份ADS
亚马逊第三方平台真的卖盗版书?
微软最后的救命稻草Win 8份额继续上升
华为坚持不上市究竟为何?不差钱也不想冒风险