Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
424 views
in Technique[技术] by (71.8m points)

javascript - Twitter Bootstrap选项卡:转到页面重新加载或超链接上的“特定”选项卡(Twitter Bootstrap Tabs: Go to Specific Tab on Page Reload or Hyperlink)

I'm developing a web page in which I'm using Twitter's Bootstrap Framework and their Bootstrap Tabs JS .

(我正在开发一个网页,其中使用Twitter的Bootstrap Framework及其Bootstrap Tabs JS 。)

It works great except for a few minor issues, one of which is I do not know how go directly to a specific tab from an external link.

(除了一些小问题外,它的工作效果非常好,其中一个小问题是我不知道如何从外部链接直接转到特定选项卡。)

For example:

(例如:)

<a href="facility.php#home">Home</a>
<a href="facility.php#notes">Notes</a>

should go to the Home tab and the Notes tab respectively when clicked on the links from an external page

(单击外部页面上的链接时,应分别转到“主页”选项卡和“注释”选项卡)

  ask by mraliks translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...