爱易网
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 浏览次数:20252 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>爱易网网页特效演示, 图片播放器</title> </head> <body> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var Onerotate_delay = 2000; // delay in milliseconds (5000 = 5 secs) Onecurrent = 0; var OneLinks = new Array(3); OneLinks[0] = "#"; OneLinks[1] = "#"; OneLinks[2] = "#"; function Onenext() { if (document.Oneslideform.Oneslide[Onecurrent+1]) { document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent+1].value; document.Oneslideform.Oneslide.selectedIndex = ++Onecurrent; } else Onefirst(); } function Oneprevious() { if (Onecurrent-1 >= 0) { document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent-1].value; document.Oneslideform.Oneslide.selectedIndex = --Onecurrent; } else Onelast(); } function Onefirst() { Onecurrent = 0; document.images.Oneshow.src = document.Oneslideform.Oneslide[0].value; document.Oneslideform.Oneslide.selectedIndex = 0; } function Onelast() { Onecurrent = document.Oneslideform.Oneslide.length-1; document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value; document.Oneslideform.Oneslide.selectedIndex = Onecurrent; } function Oneap(text) { document.Oneslideform.Oneslidebutton.value = (text == "Stop") ? "Start" : "Stop"; Onerotate(); } function Onechange() { Onecurrent = document.Oneslideform.Oneslide.selectedIndex; document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value; } function Onerotate() { if (document.Oneslideform.Oneslidebutton.value == "Stop") { Onecurrent = (Onecurrent == document.Oneslideform.Oneslide.length-1) ? 0 : Onecurrent+1; document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value; document.Oneslideform.Oneslide.selectedIndex = Onecurrent; window.setTimeout("Onerotate()", Onerotate_delay); } } function Onetransport(){ window.location=OneLinks[Onecurrent] } // End --> </SCRIPT> <TABLE border="0" cellspacing="0" cellpadding="0"> <TR> <TD> <form name="Oneslideform" > <DIV align="center"> <TABLE width="150" border="1" cellspacing="0" cellpadding="4" bordercolor="#FF99CC"> <TR> <TD bgcolor="#FFFFFF"> <DIV align="center"><A href="javascript:Onetransport()"><img src="http://img.aiyiweb.com/mylogo2.gif" width="140" height="105" name="Oneshow" border="0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></A></DIV></TD> </TR> <TR> <TD bgcolor="#FFE1F5"> <DIV align="center"> <SELECT name="Oneslide" onChange="Onechange();"> <OPTION value="http://img.aiyiweb.com/mylogo3.gif" selected>图片 1</OPTION> <OPTION value="http://img.aiyiweb.com/mylogo.gif">图片 2</OPTION> <OPTION value="http://img.aiyiweb.com/mylogo1.gif">图片 3</OPTION> </SELECT> </DIV></TD> </TR> <TR> <TD bgcolor="#FFE1F5"> <DIV align="center"> <INPUT type=button onClick="Oneprevious();" value="<<" title="上一个"> <INPUT type=button name="Oneslidebutton" o
上一篇:狡猾的按钮特效
下一篇:对鼠标过敏的图片
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?
虚拟运营商们更像三大运营商的“二道贩子”
传陌陌或12月赴美IPO 估值约30亿美元
传谷歌开发者大会发布Android 4.3 并非5.0版本
广电地方营业厅的一句“罚停”,暴露出了他们的本质
中移动一季度净利大降:手机补贴增长过快
阿里马云:我觉得互联网还有十年可以做
FDD牌照12月将发放 联通电信双4G反击中移动
郭美美事件推手被抓 “秦火火”拷问网络底线
推荐阅读
更多>
NEC拟出售移动效劳子公司NEC Mobile
神州电脑中止IPO面前:再被质疑财务造假
聚美向左,唯品向右,怎能耐得住高跟和红唇的诱惑!
华为美国推出电商网站 发售Mate 2LTE版
CSS控制字符长度和显示长度
美国政府关门可能影响去哪儿等公司IPO
喜大普奔:2016年国内乘客有望在飞机上使用手机
传苹果与雅虎协作信息提供 进一步摆脱谷歌
HDS发布《2013中国CIO洞察白皮书》
苹果音乐效劳新战略:与唱片商停止流媒体协作
雅安地震 绝不宽恕应用人们爱心的骗子!
新一代iPhone11月底国内上市 支持TD制式
富士康欲用机器人产iPhone 6
微软张亚勤趋势判断:未来三十年属于物理化互联网
小米2S试水高端化 纯“性价比”玩法已成过去式
十亿美元的告别礼:三星为何要大举重组?
微信将商场O2O战火烧到了阿里巴巴老家
火狐手机发展前路:或被运营商绑架
阿里物流搭上邮政:京东,我们在终点等你!
苹果MacBook Air劣势渐显 或推新产品改变命运