手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >TFDN图片播放器 不错自动播放
TFDN图片播放器 不错自动播放
摘要:复制代码代码如下:52515.net上传程序TFDN图片播放器[上传图片][图片管理]

复制代码 代码如下:

<html>

<head>

<title>52515.net上传程序</title>

<metahttp-equiv="Content-Type"content="text/html;charset=gb2312">

<styletype="text/css">

<>

</style>

<SCRIPTlanguage=JavaScript>

<current;

}

elselast();

}

functionfirst(){

current=0;

if(document.all){

document.images.show.style.filter="blendTrans(duration=2)"

document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"

document.images.show.filters.blendTrans.Apply()

}

document.images.show.src=document.slideform.slide[0].value;

if(document.all){

document.images.show.filters.blendTrans.play()

}

document.slideform.slide.selectedIndex=0;

}

functionlast(){

current=document.slideform.slide.length-1;

if(document.all){

document.images.show.style.filter="blendTrans(duration=2)"

document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"

document.images.show.filters.blendTrans.Apply()

}

document.images.show.src=document.slideform.slide[current].value;

if(document.all){

document.images.show.filters.blendTrans.play()

}

document.slideform.slide.selectedIndex=current;

}

functionap(text){

document.slideform.slidebutton.value=(text=="停止播放")?"自动播放":"停止播放";

rotate();

}

functionchange(){

current=document.slideform.slide.selectedIndex;

if(document.all){

document.images.show.style.filter="blendTrans(duration=2)"

document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"

document.images.show.filters.blendTrans.Apply()

}

document.images.show.src=document.slideform.slide[current].value;

if(document.all){

document.images.show.filters.blendTrans.play()

}

}

functionrotate(){

if(document.slideform.slidebutton.value=="停止播放"){

current=(current==document.slideform.slide.length-1)?0:current+1;

if(document.all){

document.images.show.style.filter="blendTrans(duration=2)"

document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"

document.images.show.filters.blendTrans.Apply()

}

document.images.show.src=document.slideform.slide[current].value;

if(document.all){

document.images.show.filters.blendTrans.play()

}

document.slideform.slide.selectedIndex=current;

window.setTimeout("rotate()",rotate_delay);

}

}

//End-->

</SCRIPT>

</head>

<body>

<FORMname=slideform>

<divalign="center"class="style1">TFDN图片播放器

</div>

<TABLEwidth="80%"height="243"border=1align=centercellPadding=0cellSpacing=0bordercolor="#009900"bgcolor="#009933"style="border-collapse:collapse">

<TR>

<TDheight="220"align="center"vAlign=center><IMGsrc="http://61.152.149.36/images/shanghai/office/8gua20050901/1767.jpg"align=centername=show></TD>

</TR>

</TABLE>

<TABLEwidth="80%"border=1align="center"cellPadding=0cellSpacing=0bordercolor="#FF9900"style="border-collapse:collapse">

<TR>

<TDheight=29align=middlebgcolor="#FF9900">

<%

setrs=conn.execute("select*fromuploadorderbyid")

%>

<SELECTonchange=change();name=slide>

<%dowhilenotrs.eof%>

<OPTIONvalue=<%=rs("upfile")%>><%=rs("filename")%></OPTION>

<%

rs.movenext

loop

setrs=nothing

setconn=nothing

%>

</SELECT>

<INPUTtitle=Beginningonclick=first();type=buttonvalue="首张">

<INPUTtitle=Previousonclick=previous();type=buttonvalue="上一张">

<INPUTtitle=AutoPlayonclick=ap(this.value);type=buttonvalue=自动播放name=slidebutton>

<INPUTtitle=Nextonclick=next();type=buttonvalue="下一张">

<INPUTtitle=Endonclick=last();type=buttonvalue="尾张">

<ahref="up.htm">[上传图片]</a><ahref="admin.asp">[图片管理]

</a></TD>

</TR>

</TABLE>

</FORM>

</body>

</html>

【TFDN图片播放器 不错自动播放】相关文章:

精彩图片推荐 渐隐渐现

AngularJS学习笔记之ng-options指令

javascript+HTML5自定义元素播放焦点图动画

如何实现浏览器上的右键菜单

本窗口将在秒后自动关闭

JavaScript中toString()方法的使用详解

鼠标图片振动代码

图片按比例缩放函数

点击变化图象 不错

jQuery使用zTree插件实现树形菜单和异步加载

精品推荐
分类导航