【发布时间】:2012-02-10 21:34:49
【问题描述】:
我正在使用 Twitter 的 Bootstrap 顶部栏。
当我点击一些导航href时
href=#SomeDivName
比如当你在这个页面中按下导航时:
http://twitter.github.com/bootstrap/examples/fluid.html#contact
页面向下滚动一点。
我希望点击后会出现相关部分, 但我不希望页面向下滚动。
【问题讨论】:
-
haref=#SomeDiveName?你的意思是<a href="#SomeDiveName">?我不熟悉引导程序顶部栏,所以我可能会遗漏一些东西 - 但你的问题非常不清楚,没有真正的细节。请尝试提供更多信息。页面应该做什么?你试过什么?
标签: javascript jquery twitter-bootstrap