开发者

Linking to Blueprint CSS tabs?

I'm using Blueprint CSS as the framework for a website I'm currently building, I'm also using the tabs plugin (http://blueprintcss.org/demos/tabs.html) which works really nicely, however I'd like to be able to directly link to a tab (from the address bar) this doesn't seem to be possible as a standard feature so I was wondering if anyone would b开发者_如何学运维e able to help me out here?


It does too work.

http://pastebin.com/bQun2DNV

has to be tested as an html file.

key code snippet:

$("ul.tabs a[href="+location.hash+"]").click();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜