爱易网
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 浏览次数:20354 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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
上一篇:狡猾的按钮特效
下一篇:鼠标双击判断脚本
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
快递企业征收“份子钱” 成全了谁 苦了谁?
电信设备商淘金中国4G:华为中兴领衔
网络视频的几大趋势将成视频玩家躲不开的发力点
公信力消失:马航事件社交媒体传播之痛
戴尔正告继续上市存风险 称黑石伊坎方案有缺乏
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
电信运营商员工涌入虚拟运营商,待遇差距多大?
盘点改变社会的15种科技:谷歌眼镜将使我们成为半机械人
诺基亚仍是第二大手机商:功用机有利可图
推荐阅读
更多>
FDD牌照12月将发放 联通电信双4G反击中移动
快递企业征收“份子钱” 成全了谁 苦了谁?
广电总局回应美剧下架:不是所有信息可公开
成本效益全兼顾 混合云市场前景显现
三星手机在国内陷入困境:华为中兴小米紧追
小米发明的“低价抢购”模式还能管用多久?
百度吴恩达:图像和音视频搜索是人工智能新方向
联通丹东公司一高管造假套出手机变卖被判刑7年
美国政府关门可能影响去哪儿等公司IPO
魅族黄章惹怒芙蓉姐姐 将跨界推女神手机
任正非:华为决不上市 上市公司股东贪婪而短视
只有切到刚需痛点,漫画APP才能走下去
三星维修新规:Galaxy S4主板进水也收费修
墨迹也要做硬件,工具类应用如何“变异”的
华为变阵:任正非调整三大业务布局
618首日看京东阿里不同策略,鹿死谁手?
苹果售后生态链乱象:供需失衡价钱不一
亚马逊落户上海自贸区:美国货直邮中国
惠普中国转型只是缩影 未来开展不可预期
摩托罗拉移动裁员关闭德州Moto X手机工厂