电脑故障

位置:IT落伍者 >> 电脑故障 >> 浏览文章

TFDN图片播放器 不错自动播放


发布日期:2018/11/29
 

复制代码 代码如下:

<html>

<head>

<title>上传程序</title>

<metahttpequiv=ContentTypecontent=text/html;charset=gb>

<styletype=text/css>

<!

bodytdth{

fontsize:px;

color:#FFFFFF;

}

INPUT{

BORDERTOPWIDTH:px;BORDERLEFTWIDTH:px;FONTSIZE:px;BORDERBOTTOMWIDTH:px;BORDERRIGHTWIDTH:px

}

style{

fontsize:px;

fontfamily:隶书;

}

body{

backgroundcolor:#;

}

a:link{

color:#FFFFFF;

textdecoration:none;

}

a:visited{

color:#FFFFFF;

textdecoration:none;

}

a:hover{

color:#FFFFFF;

textdecoration:none;

}

a:active{

color:#FFFFFF;

textdecoration:none;

}

style{fontsize:px}

>

</style>

<SCRIPTlanguage=JavaScript>

<!Begin

//morejavascriptfrom

varrotate_delay=;//delayinmilliseconds(=secs)

current=;

functionnext(){

if(documentslideformslide[current+]){

if(documentall){

documentimagesshowstylefilter=blendTrans(duration=)

documentimagesshowstylefilter=blendTrans(duration=crossFadeDuration)

documentimagesshowfiltersblendTransApply()

}

documentimagesshowsrc=documentslideformslide[current+]value;

if(documentall){

documentimagesshowfiltersblendTransplay()

}

documentslideformslideselectedIndex=++current;

}

elsefirst();

}

functionprevious(){

if(current>=){

if(documentall){

documentimagesshowstylefilter=blendTrans(duration=)

documentimagesshowstylefilter=blendTrans(duration=crossFadeDuration)

documentimagesshowfiltersblendTransApply()

}

documentimagesshowsrc=documentslideformslide[current]value;

if(documentall){

documentimagesshowfiltersblendTransplay()

}

documentslideformslideselectedIndex=current;

}

elselast();

}

functionfirst(){

current=;

if(documentall){

documentimagesshowstylefilter=blendTrans(duration=)

documentimagesshowstylefilter=blendTrans(duration=crossFadeDuration)

documentimagesshowfiltersblendTransApply()

}

documentimagesshowsrc=documentslideformslide[]value;

if(documentall){

documentimagesshowfiltersblendTransplay()

}

documentslideformslideselectedIndex=;

}

functionlast(){

current=documentslideformslidelength;

if(documentall){

documentimagesshowstylefilter=blendTrans(duration=)

documentimagesshowstylefilter=blendTrans(duration=crossFadeDuration)

documentimagesshowfiltersblendTransApply()

}

documentimagesshowsrc=documentslideformslide[current]value;

if(documentall){

documentimagesshowfiltersblendTransplay()

}

documentslideformslideselectedIndex=current;

}

functionap(text){

documentslideformslidebuttonvalue=(text==停止播放)?自动播放:停止播放;

rotate();

}

functionchange(){

current=documentslideformslideselectedIndex;

if(documentall){

documentimagesshowstylefilter=blendTrans(duration=)

documentimagesshowstylefilter=blendTrans(duration=crossFadeDuration)

documentimagesshowfiltersblendTransApply()

}

documentimagesshowsrc=documentslideformslide[current]value;

if(documentall){

documentimagesshowfiltersblendTransplay()

}

}

functionrotate(){

if(documentslideformslidebuttonvalue==停止播放){

current=(current==documentslideformslidelength)?:current+;

if(documentall){

documentimagesshowstylefilter=blendTrans(duration=)

documentimagesshowstylefilter=blendTrans(duration=crossFadeDuration)

documentimagesshowfiltersblendTransApply()

}

documentimagesshowsrc=documentslideformslide[current]value;

if(documentall){

documentimagesshowfiltersblendTransplay()

}

documentslideformslideselectedIndex=current;

windowsetTimeout(rotate()rotate_delay);

}

}

//End>

</SCRIPT>

</head>

<body>

<FORMname=slideform>

<divalign=centerclass=style>TFDN图片播放器

</div>

<TABLEwidth=%height=border=align=centercellPadding=cellSpacing=bordercolor=#bgcolor=#style=bordercollapse:collapse>

<TR>

<TDheight=align=centervAlign=center><IMGsrc=align=centername=show></TD>

</TR>

</TABLE>

<TABLEwidth=%border=align=centercellPadding=cellSpacing=bordercolor=#FFstyle=bordercollapse:collapse>

<TR>

<TDheight=align=middlebgcolor=#FF>

<%

setrs=connexecute(select*fromuploadorderbyid)

%>

<SELECTonchange=change();name=slide>

<%dowhilenotrseof%>

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

<%

rsmovenext

loop

setrs=nothing

setconn=nothing

%>

</SELECT>

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

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

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

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

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

<a>[上传图片]</a><a>[图片管理]

</a></TD>

</TR>

</TABLE>

</FORM>

</body>

</html>

上一篇:ie 处理 gif动画 的onload 事件的一个 bug

下一篇:求一个无序数组中第k小的数字