爱易网
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 浏览次数:20221 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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
上一篇:狡猾的按钮特效
下一篇:图片向左翻滚
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
华为变阵:任正非调整三大业务布局
喜大普奔:2016年国内乘客有望在飞机上使用手机
工商总局开查电商“七日退货”
三星起诉LG在冰箱广告中玷污其企业笼统
传三星为赢得新兴市场:推廉价版Note3
微软不会被颠覆
陈天桥之鉴:产品创新被扼杀那些事
京东联席董事长赵国庆上市前夕离职
迅雷再次在美提交IPO申请
推荐阅读
更多>
中国首台比特币ATM登陆上海 可购买不可兑换现钞
新闻早8点》Facebook失手发布Snapchat类应用
Twitter收购印度手机营销公司ZipDial
银联布局二维码支付,“擦边球”生态不能自救
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
全球网络遭史上最大规模攻击:攻击数据每秒300G
传三星为赢得新兴市场:推廉价版Note3
欧盟控诉苹果在爱尔兰非法进行税收交易
刘强东:京东上市融资用于开拓三至六线城市
亚马逊第三方平台真的卖盗版书?
虚拟运营商们更像三大运营商的“二道贩子”
雷军会做赔钱生意?迅雷跌破发行价 市值仅7亿美元
这一次,微软将带给我们什么惊喜?
三星石墨烯制备技术获突破
FB上广告费用昂贵而且效果不及Twitter
诺基亚再缩阵线 封锁上海旗舰店全力蜕变
工商下月将整治手机市场
英特尔技术高管离任 电视业务或受影响
特斯拉技术专利开放,要革自己的命?
第二梯队也PK:当1号店“遇上”京东手机节