2011-06-06 184 views
0

我想知道是否有可能添加一個「在懸停(幻燈片)暫停」以下?添加「在懸停暫停」滑塊

<script type="text/javascript> 
$(document).ready(function(){ 
    $("#myController").jFlow({ 
     slides: "#slides", // the div where all your sliding divs are nested in 
     controller: ".jFlowControl", // must be class, use . sign 
     slideWrapper : "#jFlowSlide", // must be id, use # sign 
     selectedWrapper: "jFlowSelected", // just pure text, no sign 
     width: "610px", // this is the width for the content-slider 
     height: "235px", // this is the height for the content-slider 
     duration: 400, // time in miliseconds to transition one slide 
     prev: ".jFlowPrev", // must be class, use . sign 
     next: ".jFlowNext" // must be class, use . sign 
    }); 
}); 
</script> 

我正在關注創建滑塊的http://www.webdesignbooth.com/step-by-step-to-create-content-slider-using-jflow-a-minimalist-jquery-plugin/上的教程。我打算在wordpress主題中使用這個功能,並且我希望能有一個「懸停」,以便用戶可以暫停幻燈片以點擊鏈接。

回答