1
I recently started working with Bootstrap and am trying to create a navbar
.
The problem is that the navbar
appears to be normal until we decrease the size of the window where it gives collapse
as it should be, but the button toggle
only works in Google Chrome:
<div class="navbar navbar-inverse navbar-static-top">
<div class="container">
<a href="#" class="navbar-brand">RaminhaGest</a>
<button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse">F</button>
<div class="collapse navbar-collapse navHeaderCollapse">
<ul class="nav navbar-nav">
<li><a href="#">Home</a></li>
</ul>
</div>
</div>
</div>
PS: I tried to put the code in Jsfiddle but it didn’t work properly...
– blackblather
Cara explains better how this solution could be.
– Samir Braga
toggle is done via javascript, if it is not working in Firefox it must be because there is a problem in JS regarding FF.
– Gustavo Rodrigues