Bootstrap drop down menus - Joomla! Forum - community, help and support
i love bootstrap. i've got few elements of bootstrap work on 3.0 site. nice!
now, i'm trying implement 'bootstrap' drop down. hoping there class suffix implement, it's not looking @ moment.
anyone wanna shed light on how call dropdown menu bootstrap style in j3.0?
thx
now, i'm trying implement 'bootstrap' drop down. hoping there class suffix implement, it's not looking @ moment.
anyone wanna shed light on how call dropdown menu bootstrap style in j3.0?
thx
tried adding
at bottom. nothing working yet. i'll update once figured out.
code: select all
<script type="text/javascript">
(function($){
$('.dropdown-toggle').dropdown();
$(document).ready(function(){
// dropdown
$('.item-103').addclass('dropdown');
$('.item-103 > a').addclass('dropdown-toggle');
$('.item-103 > a').attr('data-toggle', 'dropdown');
$('.item-103 > a').append('<b class="caret"></b>');
$('.item-103 > ul').addclass('dropdown-menu');
$('.item-161').addclass('dropdown');
$('.item-161 > a').addclass('dropdown-toggle');
$('.item-161 > a').attr('data-toggle', 'dropdown');
$('.item-161 > a').append('<b class="caret"></b>');
$('.item-161 > ul').addclass('dropdown-menu');
});
})(jquery);
</script>at bottom. nothing working yet. i'll update once figured out.
Comments
Post a Comment