Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8110911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:55:42+00:00 2026-06-06T01:55:42+00:00

With Twitter Bootstrap 2, how do get links working within collapse-nav: <div class=navbar navbar-fixed-top>

  • 0

With Twitter Bootstrap 2, how do get links working within collapse-nav:

<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <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>
      <a class="brand" href="/index.html">Hubsphere - Controller</a>
      <div class="nav-collapse">
        <ul class="nav">
          <li class="">
            <a href="./index.html">Overview</a>
          </li>
        </ul>
      </div>
    </div>
  </div>
</div>    

i have jquery included, and the bootstrap-collapse.js file.

I have tried calling $('.nav-collapse').collapse() but this just opens the collapse area and dose not activate the button. which is what i expected as it should just work with markup.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T01:55:43+00:00Added an answer on June 6, 2026 at 1:55 am

    I was a bit curious to see if this problem still occurs with bootstrap 2.0.4

    In fact, it makes no sense to include both bootstrap.js and bootstrap-collapse.js since bootstrap.js includes bootstrap-collapse.js

    only boostrap-collapse.js
    http://jsfiddle.net/baptme/YWUmb/6/

    It works pefectly fine as expected.

    both boostrap.js & boostrap-collapse.js:
    http://jsfiddle.net/baptme/YWUmb/5/

    If you click on the collapse button for the first time, the div opens and closes immediately. (I think it’s because the plugin is declared twice).

    And then it works ok.

    This issue is specific to the early version of twitter boostrap (2.0.0) but it has been dealt with or no longer occuring due to a change in the plugin structure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using twitter bootstrap. on the site i have a top nav bar consisting of
Twitter bootstrap uses <table class=table> for table formatting. Playframework CRUD uses <table> for formatting
I am using twitter bootstrap but have a problem with the nav bar height
Just looked at the Bootstrap toolkit and attempting to get the dropdown's working on
I can't get javascript to work with Twitter's Bootstrap. I've got this <p> <a
using twitter bootstrap typeahead i get google chrome suggestion list above typeahead list $(document).ready(function
Using Twitter's Bootstrap's standard 940px fluid grid responsive grid I'm trying to get multiple
In twitter bootstrap js tabs i have to add a class active to a
How do you get a div position fixed where it also doesn't overlay on
I have used jQuery 1.6.2 so I can get <div id=drag-container> width and height

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.