52515.net上传程序 <script> <BR><!-- Begin <BR>//more javascript from http://www.smallrain.net <BR>var rotate_delay = 3000; // delay in milliseconds (1000 = 1 secs) <BR>current = 0; <br><br>function next() { <br><br> if (document.slideform.slide[current+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[current+1].value; <BR> if(document.all){ <BR> document.images.show.filters.blendTrans.play() <BR> } <br><br> document.slideform.slide.selectedIndex = ++current; <BR> } <BR>else first(); <br><br>} <br><br>function previous() { <br><br>if (current-1 >= 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[current-1].value; <BR> if(document.all){ <BR> document.images.show.filters.blendTrans.play() <BR> } <br><br> document.slideform.slide.selectedIndex = --current; <BR> } <BR>else last(); <br><br>} <br><br>function first() { <br><br>current = 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> current = 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[current].value; <BR> if(document.all){ <BR> document.images.show.filters.blendTrans.play() <BR> } <br><br> document.slideform.slide.selectedIndex = current; <br><br>} <br><br>function ap(text) { <br><br> document.slideform.slidebutton.value = (text == "停止播放") ? "自动播放" : "停止播放"; <br><br> rotate(); <br><br>} <br><br>function change() { <br><br> current = 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[current].value; <BR> if(document.all){ <BR> document.images.show.filters.blendTrans.play() <BR> } <br><br>} <br><br>function rotate() { <br><br>if (document.slideform.slidebutton.value == "停止播放") { <br><br> current = (current == document.slideform.slide.length-1) ? 0 : current+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[current].value; <BR> if(document.all){ <BR> document.images.show.filters.blendTrans.play() <BR> } <br><br> document.slideform.slide.selectedIndex = current; <BR> window.setTimeout("rotate()", rotate_delay); <br><br> } <br><br>} <BR>// End --> <br><br></script>