YouTip LogoYouTip

Bootstrap V2 Dropdown Plugin

# Bootstrap Dropdown ## Description With the Dropdown JavaScript plugin, you can create dropdown menus on any element in Bootstrap. Full support for creating dropdown menus is provided in (#) and [Navs (Tabs and Pills)](#). ## What's Required to Use This Plugin You must include the jquery.js and bootstrap-dropdown.js files. Both files are located in the twitter-bootstrap-v2/docs/assets/js folder. You can then call the dropdown menu via JavaScript. The example below demonstrates how to do this. ## Example ## Example

Dropdown Example

$(document).ready(function () { $('.dropdown-toggle').dropdown(); }); (#) In the example above, it demonstrates how to create a dropdown menu on a **Navbar** using the JavaScript plugin. You can also apply the Dropdown JavaScript plugin to **Navs (Tabs and Pills)**. The example below demonstrates how to do this. ## Example ## Example (#) [Click here to download all HTML, CSS, JS, and image files used in this tutorial.](#)
← Bootstrap V2 Scrollspy PluginBootstrap V2 Responsive Design β†’