【发布时间】:2014-01-21 10:14:03
【问题描述】:
我使用下面的代码自动滚动到锚点
setTimeout(function(){window.location.hash = "#anchor";},5000);
它工作正常,但我需要在滚动时添加平滑效果。
【问题讨论】:
-
您好 user3083292,我需要更多信息。你到底想要什么??
-
给出你想要的确切细节。
标签: javascript jquery scroll autoscroll