爱易网
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 浏览次数:20224 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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
上一篇:狡猾的按钮特效
下一篇:图片向左翻滚
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
英特尔技术高管离任 电视业务或受影响
网络旅行游记被曝插入"软广告" 个别人士月入数万
从雷军的“互联网七字诀”告诉你一个非妖魔化的小米
App Store严禁推送广告 运用面临大清洗
微软与摩托罗拉授权协议涵盖Android和Chrome设备
诺基亚培育低端机市场 迂回战术要挟中华酷联
网易微博将正式关闭 用户迁至轻博客LOFTER
传苹果已告知鸿海:两款新iPhone下月发货
《中国三网融合业务运营管理》研讨报告征订函
推荐阅读
更多>
看病也能用支付宝了 马云的又一盘大棋
创维冲击500亿梦想:转型硬件和内容供应商
陈天桥之鉴:产品创新被扼杀那些事
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
微软很“捉急”:补贴Win8 重加末尾按钮
腾讯微信昨晚再现大规模故障 多地受到影响
众贷网满月开张 网络金融监管再受质疑
“组合拳”怎么打 拆解小米新玩法
联想国庆完成收购IBM x86服务器
宽带中国战略明确 运营商建设成本超6000亿
苹果20年以来首次发债 融资170亿美元
微软与摩托罗拉授权协议涵盖Android和Chrome设备
为啥苹果定要出廉价iPhone?都是安卓逼的
充斥着假消息负能量的“秘密”缺乏普适性
从百度世界大会看大数据
看,网络文学今日之繁盛;忆,纯真去哪了?
TD是完成中国梦的一个契机
百视通:Xbox One汉化获批 游戏迷欢呼吧
从旗下三大业务BG发展看华为的过去现在和未来
神州泰岳雪上加霜:副总违规买卖遭罚