爱易网
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 浏览次数:20211 次
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="keywords" content="站长,网页特效,js特效,广告代码,zzjs,zzjs.net,sky,www.zzjs.net,站长特效 网" /> <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" /> <title>图片不停向上滚动效果,sky整理收集,站长特效网欢迎您。</title> </head> <body> <a href="<#ZC_BLOG_HOST#>">站长特效网</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr> <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站--> <script language="JavaScript1.2"> var scrollerwidth=232; var scrollerheight=94; var scrollerbgcolor='white'; var pausebetweenimages=3000; var slideimages=new Array() slideimages[0]='<a href="#"><img src="/image/zzjs.ico" alt="精彩哦" border=0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></a>'; slideimages[1]='<a href="#"><img src="/image/zzjs.ico" alt="好看哦" border=0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></a>'; slideimages[2]='<a href="#"><img src="/image/zzjs.ico" alt="好看哦" border=0" 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) }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 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 }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 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(){ if (document.all){ move3(first2) second2.style.top=scrollerheight }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 else if (document.layers){ move1(document.main.document.first) document.main.document.second.top=scrollerheight+5 document.main.document.second.visibility='show' }} window.onload=startscro
上一篇:狡猾的按钮特效
下一篇:图片放大镜特效
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
三星维修新规:Galaxy S4主板进水也收费修
锐迪科将以9.25美元/ADS价钱出售835万份ADS
人们为什么总愿尝试新社交网络?
可靠消息称微型针孔偷拍设备拟全面禁止
传陌陌或12月赴美IPO 估值约30亿美元
苹果多色彩!葫芦里究竟卖的什么药
史上最严电话实名制9月实行 三大难题待解
中国首台比特币ATM登陆上海 可购买不可兑换现钞
推荐阅读
更多>
诺基亚仍是第二大手机商:功用机有利可图
移动联通回应税率改革:短期内收入利润将大减
刘强东:京东上市融资用于开拓三至六线城市
特斯拉技术专利开放,要革自己的命?
小米移动芯片:英伟达退出,终会加强与联发科合作
评论:阿里为什么不试着收购一家香港媒体呢
200美元英特尔Android笔记本行将到来
凑足了升级ios8所需要的5.7G空间,没料到“苹果”却变成“板砖”,iOS8还能一起愉快玩耍吗?
央行暂停二维码支付及虚拟信用卡 支付宝微信不知情
如家撤离同程内情:祸起反水OTA“联盟”?
空气污染器市场乱象丛生 选购需慎重
三星石墨烯制备技术获突破
易信工具性优势突出 丁磊三板斧或先砍在飞信上
史玉柱此刻离任:营销巨匠为新游戏炒作?
创维冲击500亿梦想:转型硬件和内容供应商
中国移动承诺再降4G资费 网络漫游至50个国家
苏宁双线同价遇难题:第一个吃螃蟹不轻松
传搜狗估值12亿美元 与360谈判进入白热化
聚美向左,唯品向右,怎能耐得住高跟和红唇的诱惑!
苹果已经允许开发者提交64位应用程序