CopyCode The Code is as follows: <HTML>
<Head>
<Title> upload 52515.net Program </Title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Style type = "text/CSS">
<! --
Body, TD, Th {
Font-size: 14px;
Color: # ffffff;
}
Input {
Border-top-width: 1px; border-left-width: 1px; font-size: 12px; border-bottom-width: 1px; border-right-width: 1px
}
. Style1 {
Font-size: 36px;
Font-family: "";
}
Body {
Background-color: #000000;
}
A: link {
Color: # ffffff;
Text-Decoration: none;
}
A: visited {
Color: # ffffff;
Text-Decoration: none;
}
A: hover {
Color: # ffffff;
Text-Decoration: none;
}
A: active {
Color: # ffffff;
Text-Decoration: none;
}
. Style2 {font-size: 18px}
-->
</Style>
<Script language = JavaScript>
<! -- Begin
// More JavaScript from http://www.smallrain.net
VaR rotate_delay = 3000; // delay in milliseconds (1000 = 1 SECs)
Current = 0;
Function next (){
If (document. slideform. Slide [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 + 1]. value;
If (document. All ){
Document. Images. Show. Filters. blendtrans. Play ()
}
Document. slideform. Slide. selectedindex = ++ current;
}
Else first ();
}
Function previous (){
If (current-1> = 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 [Current-1]. value;
If (document. All ){
Document. Images. Show. Filters. blendtrans. Play ()
}
Document. slideform. Slide. selectedindex = -- current;
}
Else last ();
}
Function first (){
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;
}
Function last (){
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;
}
Function AP (text ){
Document. slideform. slidebutton. value = (text = "Stop playing ")? "Automatic playback": "Stop playing ";
Rotate ();
}
Function Change (){
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 ()
}
}
Function rotate (){
If (document. slideform. slidebutton. value = "Stop playing "){
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>
<Form name = slideform>
<Div align = "center" class = "style1"> tfdn image player
</Div>
<Table width = "80%" Height = "243" border = 1 align = center cellpadding = 0 cellspacing = 0 bordercolor = "#009900" bgcolor = "#009933" style = "border -collapse: collapse ">
<Tr>
<TD Height = "220" align = "center" valign = center> </TD>
</Tr>
</Table>
<Table width = "80%" border = 1 align = "center" cellpadding = 0 cellspacing = 0 bordercolor = "# ff9900" style = "border-collapse: collapse">
<Tr>
<TD Height = 29 align = middle bgcolor = "# ff9900">
<%
Set rs1_conn.exe cute ("select * From upload order by ID ")
%>
<Select onchange = change (); name = slide>
<% Do while not Rs. EOF %>
<Option value = <% = RS ("upfile") %> <% = RS ("FILENAME") %> </option>
<%
Rs. movenext
Loop
Set rs = nothing
Set conn = nothing
%>
</SELECT>
<Input Title = Beginning onclick = first (); type = button value = "first">
<Input Title = previous onclick = previous (); type = button value = "previous">
<Input Title = autoplay onclick = ap (this. Value); type = button value = automatic playback name = slidebutton>
<Input Title = next onclick = next (); type = button value = "Next">
<Input Title = end onclick = last (); type = button value = "last">
<A href = "up.htm"> [upload images] </a> <a href = "Admin. asp"> [image management]
</A> </TD>
</Tr>
</Table>
</Form>
</Body>
</Html>