我正在使用jQuery作爲按鈕單擊上的滑塊效果。我的代碼是:Jquery滑塊效果
$(document).ready(function() {
$("#mybutton").click(function() {
$("#slidemarginleft").hide("slide", { direction: "down" }, 1000);
});
});
當我點擊該按鈕,會出現一個JavaScript錯誤:
f.easing[e.animatedProperties[this.prop]] is not a function
如何任何人都會回答,如果你沒有說你正在使用什麼滑塊,以及這是哪種瀏覽器。你是否在不同的瀏覽器中試過它,看它是否是瀏覽器特定的? – 2011-05-14 04:37:58