We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Abdur Rehman
  2. General Discussion
  3. Saturday, 28 June 2014
  4.  Subscribe via email
Here is a working code on Bootply that i'm trying to implement: http://www.bootply.com/POoImfPTWH

The code was built from the Bootstrap documentation here: http://getbootstrap.com/javascript/#tabs

Here is an image of the documentation

http://www.clipular.com/c/4513503209586688.png?k=SBMgKvqUeqt-45pTD55SEkPDwSs

The tabs WITHOUT dropdown tab works as expected in any joomla article. However, when I add the drop down tab, everything breaks. I can see the tab but the javascipt doesn't work - i can't switch between tabs.

Here is the code is below

Anybody has a suggestion for this fix?? Any help will be much appreciated!

<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#home" role="tab" data-toggle="tab">Home</a></li>
<li><a href="#profile" role="tab" data-toggle="tab">Profile</a></li>
<li><a href="#messages" role="tab" data-toggle="tab">Messages</a></li>
<li><a href="#settings" role="tab" data-toggle="tab">Settings</a></li>
<li class="dropdown">
<a href="#" id="myTabDrop1" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="myTabDrop1">
<li class=""><a href="#dropdown1" tabindex="-1" role="tab" data-toggle="tab">@fat</a></li>
<li class=""><a href="#dropdown2" tabindex="-1" role="tab" data-toggle="tab">@mdo</a></li>
</ul>
</li>

</ul>

<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane fade active" id="home"><h1>home</h1></div>
<div class="tab-pane fade" id="profile"><h1>profile</h1></div>
<div class="tab-pane fade" id="messages"><h1>messages</h1></div>
<div class="tab-pane fade" id="settings"><h1>settings</h1></div>
<div class="tab-pane fade" id="dropdown1">
<p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
</div>
<div class="tab-pane fade" id="dropdown2">
<p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>
</div>
</div>




<script>
$(function () {
$('#myTab a:last').tab('show')
})
</script>
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Any suggestions guys??

THANKS!
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.