爱易网
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 浏览次数:20257 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <SCRIPT language=JavaScript1.2> var scrollerwidth=200 var scrollerheight=133 var scrollerbgcolor='white' //3000 miliseconds=3 seconds var pausebetweenimages=3000 var slideimages=new Array() slideimages[0]='<img src="http://www.aiyiweb.com/images/face/image21.gif" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[1]='<img src="http://www.aiyiweb.com/UploadPic/userface/no1323.jpg" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[2]='<img src="http://www.aiyiweb.com/images/face/image21.gif" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[3]='<img src="http://www.aiyiweb.com/UploadPic/userface/no1323.jpg" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[4]='<img src="http://www.aiyiweb.com/images/face/image21.gif" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[5]='<img src="http://www.aiyiweb.com/UploadPic/userface/no1323.jpg" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[6]='<img src="http://www.aiyiweb.com/images/face/image21.gif" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[7]='<img src="http://www.aiyiweb.com/UploadPic/userface/no1323.jpg" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[8]='<img src="http://www.aiyiweb.com/images/face/image21.gif" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[9]='<img src="http://www.aiyiweb.com/UploadPic/userface/no1323.jpg" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[10]='<img src="http://www.aiyiweb.com/images/face/image21.gif" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' slideimages[11]='<img src="http://www.aiyiweb.com/UploadPic/userface/no1323.jpg" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>' //extend this list ///////Do not edit pass this line/////////////////////// 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)",pause
上一篇:狡猾的按钮特效
下一篇:图片向左翻滚
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
让一让,小米4来了,碰见米粉请务必绕道走!
易迅大众点评缩水执行“七天后悔权”被约谈
传苹果中移动达成协议:新iPhone兼容TD制式
据消息传百度将要控股携程 整合去哪儿
扎克伯格华裔妻子首度亮相电视节目畅谈情史
工信部或本月17日向联通电信颁发FDD牌照
“宽带中国”计划已正式上升为国家战略
《中国三网融合业务运营管理》研讨报告征订函
黑狐病毒疯传播 电脑管家首推 专杀工具
推荐阅读
更多>
阿朗力避步北电后尘 急切停止自我革新
黑狐病毒疯传播 电脑管家首推 专杀工具
雷军收买腾讯金山股份:持股比例升至27%
国美电商开打价钱战 牟贵先言行矛盾受质疑
魅族黄章惹怒芙蓉姐姐 将跨界推女神手机
三问刘强东:京东为何近来火气这么大?
Skype周年:与微软联姻到底有没有未来?
微博启动自媒体计划 粉丝+收入双激励是亮点
PC迎9年来出货量新低 平板电脑渐成主流
阿里物流搭上邮政:京东,我们在终点等你!
Android应用审核乱象:诈骗软件冲上排行榜首
互联网金融一周年:余额宝最接地气,比特币最作死
网络视频的几大趋势将成视频玩家躲不开的发力点
苹果多色彩!葫芦里究竟卖的什么药
雅安地震 绝不宽恕应用人们爱心的骗子!
OPPO Find7体验测 Find7综测
快播灭了,还有西瓜:视频网站的灰色江湖还在
唯品会股价飙升 引天猫当当京东进军闪购
腾讯再次重申:普通微信誉户相对不收费
新浪微博推粉丝头条功能 意欲与大号分成