How Can I Load External Pages In The Same Tab With Twitter-bootstrap Framework?
I can't find examples of 'first senario' in Basic tabs example on Tabs used as regular navigation (loading external pages in the same tab). I've this tabs :
Solution 1:
Coming form others js plug-in behaviors, I didn't realize it was so simple.
Thanks to jasny for clarifying :
<!-- URL: / --><ulclass='tabs'data-tabs='tabs'><liclass='active'><ahref="/">Home</a></li><li><ahref="/cms/watchers">CMS</a></li><li><ahref="/css/watchers">CSS</a></li><li><ahref="/ruby/watchers">Ruby</a></li><li><ahref="/framework/watchers">Framework</a></li></ul><!-- URL: /cms/watchers --><ulclass='tabs'data-tabs='tabs'><li><ahref="/">Home</a></li><liclass='active'><ahref="/cms/watchers">CMS</a></li><li><ahref="/css/watchers">CSS</a></li><li><ahref="/ruby/watchers">Ruby</a></li><li><ahref="/framework/watchers">Framework</a></li></ul>
So only use the javascript if you want to be able to switch tabs without reloading the page.
Post a Comment for "How Can I Load External Pages In The Same Tab With Twitter-bootstrap Framework?"