爱易网
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 浏览次数:20221 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <script language="JavaScript1.2"> //SET TOOLTIP DESCRIPTIONS BELOW //Extend or contract array as needed var description=new Array() description[0]='这是说明内容1' description[1]='<b>这是说明内容2' description[2]='<i>这是说明内容3' //Do not edit below here iens6=document.all||document.getElementById ns4=document.layers <!--GLOBAL VARIABLES--> var thename var theobj var thetext var winHeight var winPositionFromTop var winWidth var startH=2 var openTimer <!--END GLOBAL VARIABLES--> <!--GLOBAL FUNCTIONS--> function setObj(text,theswitch,inwidth,inheight) { thetext=text if(iens6){ thename = "viewer" theobj=document.getElementById? document.getElementById(thename):document.all.thename winHeight=100 if(iens6&&document.all) { winPositionFromTop=document.body.clientHeight winWidth=(document.body.clientWidth-document.body.leftMargin) } if(iens6&&!document.all) { winPositionFromTop=window.innerHeight winWidth=(window.innerWidth-(document.body.offsetLeft+30)) } if(theswitch=="override") { winWidth=inwidth winHeight=inheight } theobj.style.width=winWidth theobj.style.height=startH if(iens6&&document.all) { theobj.style.top=document.body.scrollTop+winPositionFromTop theobj.innerHTML = "" theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>") } if(iens6&&!document.all) { theobj.style.top=window.pageYOffset+winPositionFromTop theobj.innerHTML = "" theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>" } } if(ns4){ thename = "nsviewer" theobj = eval("document."+thename) winPositionFromTop=window.innerHeight winWidth=window.innerWidth winHeight=100 if(theswitch=="override") { winWidth=inwidth winHeight=inheight } theobj.moveTo(0,eval(window.pageYOffset+winPositionFromTop)) theobj.width=winWidth theobj.clip.width=winWidth theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>") theobj.document.close() } viewIt() } function viewIt() { if(startH<=winHeight) { if(iens6) { theobj.style.visibility="visible" if(iens6&&document.all) { theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH } if(iens6&&!document.all) { theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH } theobj.style.height=startH startH+=2 openTimer=setTimeout("viewIt()",10) } if(ns4) { theobj.visibility = "visible" theobj.moveTo(0,(eval(window.pageYOffset+winPositionFromTop)-startH)) theobj.height=startH theobj.clip.height=(startH) startH+=2 openTimer=setTimeout("viewIt()",10) } }else{ clearTimeout(openTimer) } } function stopIt() { if(iens6) { theobj.innerHTML = "" theobj.style.visibility="hidden" startH=2 } if(ns4) { theobj.document.write("") theobj.document.close() theobj.visibility="hidden" theobj.width=0 theobj.height=0 theobj.clip.width=0 theobj.clip.height=0 startH=2 } } <!--END GLOBAL FUNCTIONS--> </script> <layer name="nsviewer"
上一篇:狡猾的按钮特效
下一篇:网页限时跳转
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
众贷网满月开张 网络金融监管再受质疑
中移动落马高管盘点:广东移动成反腐重地
称产品遭诋毁 奇虎再诉百度
“扫黄打非”下9158否认遭整顿
英特尔IDF峰会启示:释放移动互联的信号
空气污染器市场乱象丛生 选购需慎重
想玩P2P?几个您必须知道的潜规则
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?
全球网络遭史上最大规模攻击:攻击数据每秒300G
推荐阅读
更多>
FB上广告费用昂贵而且效果不及Twitter
阿里国际化再落子:2.49亿美元投资新加坡邮政
微软小冰复活再战移动端:改与米聊、易信和触宝合作
马云自称在美国曾被绑票
亚马逊第三方平台真的卖盗版书?
从WPS到office365,中国企业能否赶超美国?
曝阿里巴巴一怀孕员工过劳死 加班情况引争议
中兴通讯不打机海战术 将向中高端手机转型
完美入股盛大:一桩各怀心事的交易
国内云服务商存在尴尬:“远程机房+移动大硬盘”模式
二维码支付大战的号角注定已经吹响,尚需标准发放
估值增长9.8% 阿里IPO前市值达2450亿美元
传谷歌开发者大会发布Android 4.3 并非5.0版本
佳能利润大跌三成 智能终端倒逼相机厂商转型
酷派首抓4G时机大丰收,未来份额必降无疑
不提老罗,不说情怀,仅从十四个投诉问题入手谈锤子手机
搜狐前副总编何毅加盟乐视 任车联网公司CEO
刘强东向总理建言:打击有组织有规模的售假商家
网友爆料称微软雇水军宣传主机Xbox One
墨迹天气:产品创新以攻为守方能对抗巨头