1
我想用动画从顶部滚动我的页面1750px。我尝试了以下,它不起作用。如何在动画中滚动jQuery?
$('#trailer').click(function() {
event.preventDefault();
//$(window).scrollTop(1750); // I want to animate this.
$(window).animate(
{top: 1750},
200);
return false;
});