首頁 > web前端 > js教程 > TFDN图片播放器 不错自动播放_图象特效

TFDN图片播放器 不错自动播放_图象特效

WBOY
發布: 2016-05-16 19:25:35
原創
1540 人瀏覽過
复制代码 代码如下:



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>



 TFDN图片播放器





TFDN图片播放器 不错自动播放_图象特效 








    set rs=conn.execute("select * from upload order by id")
%>





 
[上传图片] [图片管理]




來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板