<div class="codetitle"> <span><a style="CURSOR: pointer" data="13682" class="copybut" id="copybut13682" onclick="doCopy('code13682')"><u>코드 복사</u></a></span> 코드는 다음과 같습니다.</div> <div class="codebody" id="code13682"> <br><html> <br><머리> <br><title>52515.net上传程序</title> <br><meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <br><style type="text/css"> <br> <!-- <BR> body,td,th { <BR> 글꼴 크기: 14px; <BR> 색상: #FFFFFF; <BR> } <BR>입력 { <BR> 테두리-위-너비: 1px; 테두리-왼쪽-너비: 1px; 글꼴 크기: 12px; 테두리-하단-너비: 1px; 테두리 오른쪽 너비: 1px <BR>} <BR>.style1 { <BR> 글꼴 크기: 36px; <BR> 글꼴 모음: "隶书"; <BR>} <BR>본문 { <BR> 배경색: #000000; <BR>} <BR>a:링크 { <BR> 색상: #FFFFFF; <BR> 텍스트 장식: 없음; <BR>} <BR>a:방문함 { <BR> 색상: #FFFFFF; <BR> 텍스트 장식: 없음; <BR>} <BR>a:hover { <BR> 색상: #FFFFFF; <BR> 텍스트 장식: 없음; <BR>} <BR>a:활성 { <BR> 색상: #FFFFFF; <BR> 텍스트 장식: 없음; <BR>} <BR>.style2 {글꼴 크기: 18px} <BR> --> <br></style> <br><br><SCRIPT 언어=JavaScript> <br><!-- http://www.smallrain.net에서 <BR>//more javascript 시작 <BR>var rotate_delay = 3000; // 밀리초 단위의 지연(1000 = 1초) <BR>현재 = 0; <br><br>함수 next() { <br><br> if (document.slideform.slide[현재 1]) { <BR> if(document.all){ <BR> document.images.show.style .filter="blendTrans(duration=2)" <BR> document.images.show.style.filter="blendTrans(duration=crossFadeDuration)" <BR> document.images.show.filters.blendTrans.Apply() <BR> } <br><br> document.images.show.src = document.slideform.slide[현재 1].value; <BR> if(document.all){ <BR> document.images.show.filters.blendTrans.play() <BR> } <br><br> document.slideform.slide.selectedIndex = 현재; <BR> } <BR>else first(); <br><br>} <br><br>function previous() { <br><br>if (current-1 >= 0) { <br> if(document.all){ <br> 문서. Images.show.style.filter="blendTrans(duration=2)" <br> document.images.show.style.filter="blendTrans(duration=crossFadeDuration)" <br> document.images.show.filters.blendTrans. 적용() <br> } <br><br> document.images.show.src = document.slideform.slide[current-1].value; <br> if(document.all){ <br> document.images.show.filters.blendTrans.play() <br> } <br><br> document.slideform.slide.selectedIndex = -현재; <br> } <br>else last(); <br><br>}<br><br>function first() { <br><br>현재 = 0; <br> if(document.all){ <br> document.images.show.style.filter="blendTrans(duration=2)" <br> document.images.show.style.filter="blendTrans(duration=crossFadeDuration) )" <br> document.images.show.filters.blendTrans.Apply() <br> } <br><br> document.images.show.src = document.slideform.slide[0].value; <br> if(document.all){ <br> document.images.show.filters.blendTrans.play() <br> } <br><br>document.slideform.slide.selectedIndex = 0; <br><br>} <br><br>function last() { <br><br> 현재 = document.slideform.slide.length-1; <br> if(document.all){ <br> document.images.show.style.filter="blendTrans(duration=2)" <br> document.images.show.style.filter="blendTrans(duration=crossFadeDuration) )" <br> document.images.show.filters.blendTrans.Apply() <br> } <br><br> document.images.show.src = document.slideform.slide[현재].value; <br> if(document.all){ <br> document.images.show.filters.blendTrans.play() <br> } <br><br> document.slideform.slide.selectedIndex = 현재; <br><br>} <br><br>function ap(text) { <br><br> document.slideform.slidebutton.value = (text == "停止播放") ? "自动播放" : "停止播放"; <br><br> 회전(); <br><br>} <br><br>function change() { <br><br> 현재 = document.slideform.slide.selectedIndex; <br> if(document.all){ <br> document.images.show.style.filter="blendTrans(duration=2)" <br> document.images.show.style.filter="blendTrans(duration=crossFadeDuration) )" <br> document.images.show.filters.blendTrans.Apply() <br> } <br><br> document.images.show.src = document.slideform.slide[현재].value; <br> if(document.all){ <br> document.images.show.filters.blendTrans.play() <br> } <br><br>} <br><br>함수 회전() { <br><br>if (document.slideform.slidebutton.value == "停止播放") { <br><br> 현재 = (현재 == document.slideform.slide.length-1) ? 0: 현재 1; <br> if(document.all){ <br> document.images.show.style.filter="blendTrans(duration=2)" <br> document.images.show.style.filter="blendTrans(duration=crossFadeDuration) )" <br> document.images.show.filters.blendTrans.Apply() <br> } <br><br> document.images.show.src = document.slideform.slide[현재].value; <.> if (docum <br> window.setTimeout("rotate()", rotate_delay); <br><br> } <br><br>}<br>// 끝 --> <br><br></SCRIPT> <br></head> <br><본문> <br><FORM name=슬라이드폼> <br><div align="center" class="style1"> TFDN이미지播放器 <br></div> <br><TABLE width="80%" height="243" border=1 align=center cellPadding=0 cellSpacing=0 bordercolor="#009900" bgcolor="#009933" style="border-collapse:collapse" > <br><TR> <br><TD height="220" align="center" vAlign=center ><IMG src="http://61.152.149.36/images/shanghai/office/8gua20050901/1767.jpg" align=center 이름=표시 > </TD> <br></TR> <br></TABLE> <br><br><br><TABLE width="80%" border=1 align="center" cellPadding=0 cellSpacing=0 bordercolor="#FF9900" style="border-collapse:collapse"> <br><TR> <br><TD height=29 align=middle bgcolor="#FF9900" > <br><% <BR> set rs=conn.execute("ID별 업로드 순서에서 * 선택") <BR>%> <br><선택 onchange=change(); 이름=슬라이드> <br><%는 rs.eof가 아닌 동안에는 %> <br><OPTION value=<%=rs("upfile")%>><%=rs("filename")%></OPTION> <br><% <BR> rs.movenext <BR> 루프 <BR> set rs=nothing <BR> set conn=nothing <BR>%> <br></SELECT> <br><INPUT title=시작 onclick=first(); type=button value="首张"> <br><INPUT title=이전 onclick=이전(); type=button value="上一张"> <br><INPUT 제목=자동 재생 onclick=ap(this.value); 유형=버튼 값=自动播放 이름=슬라이드버튼> <br><INPUT title=다음 onclick=next(); type=button value="下一张"> <br><INPUT title=End onclick=last(); 유형=버튼 value="尾张"> <br><a href="up.htm">[上传图文]</a> <a href="admin.asp">[图文管理] <br></a></TD> <br></TR> <br></TABLE> <br></FORM> <br></body> <br></html><br></.> </div>