-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown in Topbar #68
Comments
You need javascript to make the dropdown work. To show and hide the menu-dropdown element just toggle the |
From http://twitter.github.com/bootstrap/assets/js/application.js: // Dropdown example for topbar nav
// ===============================
$("body").bind("click", function (e) {
$('.dropdown-toggle, .menu').parent("li").removeClass("open");
});
$(".dropdown-toggle, .menu").click(function (e) {
var $li = $(this).parent("li").toggleClass('open');
return false;
}); |
sengeezer
referenced
this issue
in sengeezer/sass-twitter-bootstrap
May 5, 2013
fix bower install command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I add a dropdown menu to a top navigation bar, the dropdown function is not working... Sample:
Is there something wrong in my code?
The text was updated successfully, but these errors were encountered: