12345678910111213141516171819202122232425262728293031323334353637383940414243! function(window, document, $, undefined) {var $slideWp = $(".slide_wp"),imgSz = $slideWp.find("ul img").size(),liW = $slideWp.find("ul li").width(),curIdx = 0,timer,timer2;var init = function() {renderIdx();$slideWp.find("ul li").first().clone().appendTo($slideWp.find("ul"));initEvent();autoPlay();};var initEvent = function() {$slideWp.find(".handle_btn").click(onHandleBtnClk);$slideWp.hover(onMouseEnter, onMouseOut);$slideWp.find("ol li").hover(onMouseEnterIdx, onMouseOutIdx);};var onMouseOutIdx = function() {clearTimeout(timer2);};var onMouseEnterIdx = function() {var $this = $(this),curIdx = $this.index();timer2 = setTimeout(function() {$slideWp.find(".handle_btn").eq(1).trigger("click", curIdx);}, 300);};var onMouseOut = function() {autoPlay();};var onMouseEnter = function() {clearInterval(timer);};var onHandleBtnClk = function(e, data) {var $this = $(this),
可以自动轮播,鼠标滑过时停止