标签: jquery django
我有一个问题
将其移动到地板上很简单
$ ("html, body"). animate ({scrollTop: $ (document) .height ()}, 1000);
但是我想知道这是否可能
'scrollTop' : $("#index_first").offset().bottom + 10px
这样做时,发生了错误。
还有另一种方法吗?