2013-08-16 47 views
0

我有一個簡單的jquery旋轉器是有點兒車。我想知道什麼樣的改變可以讓它變得更輕鬆,而不是停留在鼠標上方?感謝jquery垂直img旋轉問題

Link to jsfiddle rotator

#ticker { 
    overflow: hidden; 
    height: 330px; 
    width: 130px; 
    text-align: center; 
    background: #000; 
    border-top: 5px #999; 
    border-bottom: 5px #999; 
} 
+0

對我來說,看起來並不太感興趣,您使用的瀏覽器是什麼? –

回答

0

刪除此代碼,以保持它在鼠標懸停工作

ticker.mouseenter(function() { 
    container.stop(); 
}); 
0

中刪除此代碼:

ticker.mouseenter(function() { 
    container.stop(); 
}); 

,併爲師另一個值:

var duration = (distance + currentTop)/0.025; 
+0

謝謝你嘗試,可能會得到它。 – user2630503