Just started exploring Twitter's Bootstrap and I like what I am seeing. However I have a query over how to implement Tabs that contain an iFrame. I know iFrame's are awful, but when used correctly are useful for displaying different types of data.
I have experience of jQueryUI Tabs which allows me to display iFrame's inside of tabs. However I cannot find any documentation to do the same with Bootstrap.
From a jQueryUI perspective I have done this in the past:
<div id="tabs">
<ul>
<li><a class="tabref" href="#tabs-1" rel="page1-iframe.html">Page 1 Title</a></li>
<li><a class="tabref" href="#tabs-2" rel="page2-iframe.html">Page 2 Title</a></li>
</ul>
<div id="tabs-1"></div>
<div id="tabs-2"></div>
</div>
The above is more advanced than standard jQueryUI Tab implementation.It allows me to off-set the load of the iFrame until the tab is selected by the user which is best way to do it when loading numerous pages etc.
However, I cannot see a similar way with Bootstrap.
Looking for pointers here guys.
Cheers
Nick
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…