2012-03-01 48 views

回答

0

起坐你沒有索姆喜歡這樣的選擇。 我只是看看你使用的這個插件的代碼,而且時間是硬編碼的。

也許你可以通過延長寬鬆政策做一些定製:

$.extend(jQuery.easing, { 
easeInOutSine : function(x, t, b, c, d) { 
    return -c/2 * (Math.cos(Math.PI * t/d) - 1) + b 
}, 
easeOutSine : function(x, t, b, c, d) { 
    return c * Math.sin(t/d * (Math.PI/2)) + b 
}, 
easeOutCubic : function(x, t, b, c, d) { 
    return c * ((t = t/d - 1) * t * t + 1) + b 
} 
}) 
+0

感謝,試圖用改變的數字,但沒有搞亂。 – sean 2012-03-02 01:18:31