我有旋轉圖像使用JavaScript。我遇到的問題是當光標懸停在圖像頂部時,它會暫停。停止旋轉圖像暫停時懸停在其上
我該如何阻止這種情況發生?
原始代碼:http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
感謝
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [900, 600], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["01.jpg"],
["02.jpg"],
["03.jpg"],
["04.jpg"],
["05.jpg"],
["06.jpg"],
["07.jpg"],
["08.jpg"],
["09.jpg"],
["10.jpg"],
["11.jpg"]
],
displaymode: {type:'auto', pause:7500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 400, //transition duration (milliseconds)
descreveal: "none",
togglerid: ""
})
</script>
和...
<div id="fadeshow1"></div>