0

Here is the code for navbar

<div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">

          <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <!-- Be sure to leave the brand out there if you want it shown -->
          <a class="brand" href="index.html">EasyUniv</a>



          <!-- Everything you want hidden at 940px or less, place within here -->
          <div class="nav-collapse collapse">
              <ul class="nav">
                <li class="active">
                    <a href="index.html">Home</a>
                </li>
                <li><a href="services.html">Services</a></li>
                <li><a href="campus.html">Campus</a></li>
                <li><a href="advertise.html">Advertise</a></li>
              </ul>
          </div>

        </div>
      </div>
    </div>

The example is at: www.easyuniv.com/staging

when you make the screen smaller it hides the nav buttons correctly but they do not go into the little drop down like it should. also at certain widths there is weird padding.. been trying different things and can't get these to work.

Thanks

4

1 回答 1

1

您需要在引导之前包含 jQuery。

于 2012-11-03T22:05:32.913 回答