【发布时间】:2013-07-05 09:18:22
【问题描述】:
我的问题是,当我想滚动到指定的 li (#vor) 时,它总是显示这个错误。
无法读取未定义 jquery 动画的属性“top”
$('html,body').animate({
scrollTop: ($("#vor").offset().top-$('#header').outerHeight(true))+'px'},
'slow');
【问题讨论】:
-
尝试在
标签: jquery animation jquery-animate