爱易网
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 浏览次数:20220 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 第一步:把如下代码加入<head>区域中 <SCRIPT language="JavaScript"> <!-- var scrollerwidth=88 var scrollerheight=31 var scrollerbgcolor='white' //每个图间暂停3秒。 var pausebetweenimages=3000 //边界下面的行,如果希望logo都是带连接的,只要加上<a>标签即可。 var slideimages=new Array() slideimages[0]='<A href=http://www.jojoo.net target=_blank><img alt=细溪驿站 border=0 height=31 src=http://www.aiyiweb.com/images/face/image21.gif width=88 onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></A>' slideimages[1]='<A href=http://wjjader.126.com target=_blank><img alt=紫巾苑 border=0 height=31 src=http://www.aiyiweb.com/images/face/image21.gif width=88 onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></A>' slideimages[2]='<A href=http://hanyu2000.yeah.net/ target=_blank><img alt=碧空流云 border=0 height=31 src=http://www.aiyiweb.com/images/face/image21.gif width=88 onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></A>' slideimages[3]='<A href=http://tdyn.126.com target=_blank><img alt=天地有你 border=0 height=31 src=http://www.aiyiweb.com/images/face/image21.gif width=88 onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></A>' slideimages[4]='<A href=http://teach.t500.net target=_blank><img alt=教师之家欢迎你 border=0 height=31 src=http://www.aiyiweb.com/images/face/image21.gifwidth=88 onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></A>' //尽管填加更多的。 if (slideimages.length>1) i=2 else i=0 function move1(whichlayer){ tlayer=eval(whichlayer) if (tlayer.top>0&&tlayer.top<=5){ tlayer.top=0 setTimeout("move1(tlayer)",pausebetweenimages) setTimeout("move2(document.main.document.second)",pausebetweenimages) return } if (tlayer.top>=tlayer.document.height*-1){ tlayer.top-=5 setTimeout("move1(tlayer)",100) } else{ tlayer.top=scrollerheight tlayer.document.write(slideimages[i]) tlayer.document.close() if (i==slideimages.length-1) i=0 else i++ } } function move2(whichlayer){ tlayer2=eval(whichlayer) if (tlayer2.top>0&&tlayer2.top<=5){ tlayer2.top=0 setTimeout("move2(tlayer2)",pausebetweenimages) setTimeout("move1(document.main.document.first)",pausebetweenimages) return } if (tlayer2.top>=tlayer2.document.height*-1){ tlayer2.top-=5 setTimeout("move2(tlayer2)",100) } else{ tlayer2.top=scrollerheight tlayer2.document.write(slideimages[i]) tlayer2.document.close() if (i==slideimages.length-1) i=0 else i++ } } function move3(whichdiv){ tdiv=eval(whichdiv) if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){ tdiv.style.pixelTop=0 setTimeout("move3(tdiv)",pausebetweenimages) setTimeout("move4(second2)",pausebetweenimages) return } if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){ tdiv.style.pixelTop-=5 setTimeout("move3(tdiv)",100) } else{ tdiv.style.pixelTop=scrollerheight tdiv.innerHTML=slideimages[i] if (i==slideimages.length-1) i=0 else i++ } } function move4(whichdiv){ tdiv2=eval(whichdiv) if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){ tdiv2.style.pixelTop=0 setTimeout("move4(tdiv2)",pausebetweenimages) setTimeout("move3(first2)",pausebetweenimages) return } if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){ tdiv2.style.pixelTop-=5 setTimeout("move4(second2)",100) } else{ tdiv2.style.pixelTop=scrollerheight tdiv2.innerHTML=slideimages[i] if (i==slideimages.length-1) i=0 else i++ } } function startscroll(
上一篇:狡猾的按钮特效
下一篇:图象滚动公告版
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
历史惊人相似:如今的库克 曾经的鲍尔默
英特尔IDF峰会启示:释放移动互联的信号
百度吴恩达:图像和音视频搜索是人工智能新方向
京东封杀财付通:终极目标是电商生态圈
靠谱分析:6月发生的WWDC和谷歌I/O大会,将会出现哪些新产品?
华为野心布局未来:投资研发5G对赌1毫秒连接
Android版WhatsApp曝漏洞:聊天记录可被窃取
微信企业号必须搬走四座大山,否则只能铩羽而归!
京东很忙:升服务推产品更新招股书 能赶在阿里前上市?
推荐阅读
更多>
国内云服务商存在尴尬:“远程机房+移动大硬盘”模式
迪信通神秘免费服务揭谜底:充电宝免费带回家
唯品会股价飙升 引天猫当当京东进军闪购
互联网金融一周年:余额宝最接地气,比特币最作死
首家国有独资P2P平台上线 或预示政策日渐明朗
谷歌新技术进入iOS平台:将叫板苹果Siri
国美痛批网购七宗罪 用短暂盈利输了未来
北京电信推“0月租卡”,同网通话免费
京东确定IPO定价区间 最高募资16.9亿美元
说说这一个月的赌球输了多少
惠普中国转型只是缩影 未来开展不可预期
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
为啥苹果定要出廉价iPhone?都是安卓逼的
传4G牌照国庆节前后发放 TD-LTE制式优先
IT时代周刊总编辑曹健:投资人刘志硕印象记
运营商补贴减少 国内通信业拐点逼近
第二梯队也PK:当1号店“遇上”京东手机节
团购网站存活率仅18.6% 剩余缺乏千家
同样的背景,罗永浩和雷军到底有什么不同?
App Store严禁推送广告 运用面临大清洗