爱易网
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 浏览次数:20212 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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
上一篇:狡猾的按钮特效
下一篇:图片向左翻滚
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
史玉柱此刻离任:营销巨匠为新游戏炒作?
9月1日起免征新能源汽车购置税
阿里巴巴上市后雅虎将面临更大的业绩压力
都是300元内 乐视盒子与小米盒子对比体验
挂号网高管团体离任 或因投资人失掉决计
传谷歌开发者大会发布Android 4.3 并非5.0版本
在线音乐出现“小米公司”不是没有可能
高通反垄断案下月有望落定
国内首个大数据系列指数今日发布
推荐阅读
更多>
巨人网络回应央视 否认应用黑客停止诈骗
华为坚持不上市究竟为何?不差钱也不想冒风险
迅雷再次在美提交IPO申请
中国大陆人口13.7亿 光棍越来越多
FDD牌照12月将发放 联通电信双4G反击中移动
苹果股价突破100美元大关:投资者看好iPhone 6
欧洲6万人起诉Facebook隐私侵权
HTC与苹果三星距离扩展 C2B形式成新武器
打车软件竞争白热化:有冷兵器时代意味
奇虎360证明了“惟平台化才能生存”是谬论,中国互联网不能少了周鸿祎
运营商补贴减少 国内通信业拐点逼近
中移动财报外的"五座大山":运营商沦为走秀陪衬
传苹果中移动达成协议:新iPhone兼容TD制式
诺基亚再缩阵线 封锁上海旗舰店全力蜕变
小灵通两年都无信号 顾客起诉联通公司
金山毒霸安全中心: XP退役后首个高危漏洞来了
神州泰岳雪上加霜:副总违规买卖遭罚
“组合拳”怎么打 拆解小米新玩法
眼球识别技术EyeVerify融资600万美元 360参投
中移动“重启”自有品牌手机成败难料