爱易网
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 浏览次数:20250 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var rotate_delay = 5000; // delay in milliseconds (5000 = 5 secs) current = 0; function next() { if (document.slideform.slide[current+1]) { document.images.show.src = document.slideform.slide[current+1].value; document.slideform.slide.selectedIndex = ++current; } else first(); } function previous() { if (current-1 >= 0) { document.images.show.src = document.slideform.slide[current-1].value; document.slideform.slide.selectedIndex = --current; } else last(); } function first() { current = 0; document.images.show.src = document.slideform.slide[0].value; document.slideform.slide.selectedIndex = 0; } function last() { current = document.slideform.slide.length-1; document.images.show.src = document.slideform.slide[current].value; document.slideform.slide.selectedIndex = current; } function ap(text) { document.slideform.slidebutton.value = (text == "Stop") ? "Start" : "Stop"; rotate(); } function change() { current = document.slideform.slide.selectedIndex; document.images.show.src = document.slideform.slide[current].value; } function rotate() { if (document.slideform.slidebutton.value == "Stop") { current = (current == document.slideform.slide.length-1) ? 0 : current+1; document.images.show.src = document.slideform.slide[current].value; document.slideform.slide.selectedIndex = current; window.setTimeout("rotate()", rotate_delay); } } // End --> </script> <center> <form name=slideform> <table cellspacing=1 cellpadding=4 bgcolor="#000000"> <tr> <td align=center bgcolor="white"> <b>图片循环</b> </td> </tr> <tr> <td align=center bgcolor="white" width=200 height=150> <img src="http://img.aiyiweb.com/mylogo.gif" name="show" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/> </td> </tr> <tr> <td align=center bgcolor="#C0C0C0"> <select name="slide" onChange="change();"> <option value="http://img.aiyiweb.com/mylogo.gif" selected>爱易网 <option value="http://img.aiyiweb.com/mylogo1.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo2.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo3.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo1.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo2.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo3.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo.gif">爱易网 <option value="http://img.aiyiweb.com/mylogo.gif">爱易网 </select> </td> </tr> <tr> <td align=center bgcolor="#C0C0C0"> <input type=button onClick="first();" value="|<<" title="Beginning"> <input type=button onClick="previous();" value="<<" title="Previous"> <input type=button name="slidebutton" onClick="ap(this.value);" value="Start" title="AutoPlay"> <input type=button onClick="next();" value=">>" title="Next"> <input type=button onClick="last();" value=">>|" title="End"> </td> </tr> </table> </form> </center> <a href="http://www.aiyiweb.com/js/">欢迎访问爱易网JS特效</a>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
上一篇:狡猾的按钮特效
下一篇:图片重叠带阴影
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
迅雷向美SEC提交IPO招股书:拟最多筹资1亿美元
索尼移动中国区陷裁员风波:业务不佳 员工焦虑
苹果收购Beats交易或将延期尚需解决5大问题
墨迹天气:产品创新以攻为守方能对抗巨头
论:三大运营商运用商店逆袭并非不能够
优酷土豆兼并一年:依然处于烧钱形状
京东确定IPO定价区间 最高募资16.9亿美元
网友爆料称微软雇水军宣传主机Xbox One
逆转猜想:如果阿里成为雅虎大股东会怎样?
推荐阅读
更多>
携程整合去哪儿陷入僵局 欲联手老对手艺龙
中移动落马高管盘点:广东移动成反腐重地
巨人网络回应央视 否认应用黑客停止诈骗
苏宁双线同价遇难题:第一个吃螃蟹不轻松
评论:马云的成功建立在什么基础上很值得怀疑
568倍PE,“长跑者”亚马逊的高估值之谜
火一把就死: 百度魔图验证社交游戏衰亡宿命
欧盟控诉苹果在爱尔兰非法进行税收交易
小米打响手机价格战 为米3铺路或另有所图
阿里国际化再落子:2.49亿美元投资新加坡邮政
小米发明的“低价抢购”模式还能管用多久?
联发科享用价钱战 专利难以摆脱高通
史玉柱此刻离任:营销巨匠为新游戏炒作?
北京今日实现用支付宝钱包为公交卡充值
HTC曝出特大丑闻:高管诈骗+商业间谍
HTC的三大迷惘:高管釜底抽薪 产品营销战略混乱
分析称iPhone 6明年初发布 屏幕变为4.8吋
优酷土豆携手新浪微博 谋攻移动视频失地
眼球识别技术EyeVerify融资600万美元 360参投
美国电影协会在华起诉迅雷侵权 要求赔偿并道歉