Twitter Bootstrap Dropdown JavaScript Plugin
Introduction
With Dropdown JavaScript Plugin, you may create Dropdown menus to almost anything in Twitter Bootstrap. Bootstrap has full support for creating a dropdown menu on the navbar, tabs, and pills.
What is required to use this plugin
You have to include jquery.js and bootstrap-dropdown.js files. Both are present within twitter-bootstrap-v2/docs/assets/js folder. And then you can call the dropdowns via javascript. The following example shows how to do that.
Example
In the above example, it is shown how to create a dropdown with JavaScript plugin, on Navbar.
You can apply Dropdown JavaScript Plugin on tabs and pills also. The following example shows how to do that.
Example
You may download all the HTML, CSS, JS and image files used in our tutorials here.
Previous: Twitter Bootstrap Popover Tutoriall
Next:
Twitter Bootstrap ScrollSpy tutorial