They are both going to have the same effect. However, as pointed out in the comments: $(window).scrollTop() is supported by more web browsers than $('html') ...
確定! 回上一頁