background preloader

jQuery

Facebook Twitter

jQuery Bootstrap-style Dropdowns. Backstory A really awesome framework called Bootstrap was recently released by a couple of guys at Twitter.

jQuery Bootstrap-style Dropdowns

You probably already heard of it by now. And you probably already fell in love with it. One of my favorite Boostrap plugins is dropdowns, but I had a bit of difficulty getting started with them. The docs say you can apply a dropdown to nearly any element, but they really seem to work best with Bootstrap’s navbar, tab, and pill components. While the appearance of these dropdowns is almost identical to those of Bootstrap’s, it’s important to note that JavaScript for this plugin was developed entirely from scratch.

Wanna see what they look like? Usage 1. 2. For dropdown menus, the div should contain a ul with the dropdown-menu class: For dropdown panels, the div should contain a div with the dropdown-panel class: <div id="dropdown-1" class="dropdown dropdown-tip"><div class="dropdown-panel"> You can put whatever HTML you want in a panel! 3. Demos Scrolling Form Controls With Icons Panels. 38 jQuery And CSS Drop Down Multi Level Menu Solutions. Hello again, it’s time for the comprehensive programming article.

38 jQuery And CSS Drop Down Multi Level Menu Solutions

Here you’ll find 38 mainly CSS and jQuery dropdown menu or just multi level menus with downloadable files and explanations as well. Mostly they are free. My favorite here is the first pick – Outside the box with a very unique navigation menu (free) and Mega Menu, which is premium. It’s always good to have such reference articles in your bookmarks and when you have to create some really big website with a lot of content and menu sections – just return here. Dropit - Stupidly Simple jQuery Dropdowns. Dropit is a jQuery plugin for single level dropdown menu's.

Dropit - Stupidly Simple jQuery Dropdowns

Nothing fancy pants in here. Just simple and flexible dropdown's in jQuery. Requirements Works in all major browsers including IE7+. Requires jQuery v1.8. Usage Include the required files. Add some markup. <ul class="menu"><li><a href="#">Dropdown</a><ul><li><a href="#">Some Action 1</a></li><li><a href="#">Some Action 2</a></li><li><a href="#">Some Action 3</a></li><li><a href="#">Some Action 4</a></li></ul></li></ul> Hook up the jQuery. $(document).ready(function() { $('.menu').dropit(); }); API Documentation Available options.

After the plugin has loaded there are certain classes that get added to the dropdown elements. Documentation - Skitter - Slideshow for anytime!