标签: jquery html css firefox scrollto
出于某种原因,我的页面滚动工作正常,链接到div id。
但是如果我在网址中加载带有哈希的页面,它会忽略哈希并在页面顶部打开。
我的哈希网址如下所示: http://uk2.local/#customer-promise
http://uk2.local/#customer-promise
和元素i的链接也是这样的:
<section id="customer-promise"></section>
我愿意使用jQuery来实现这一功能,欢迎任何建议。