background preloader

Menu

Facebook Twitter

Pure CSS horizontal Drop Down Menu. Articles: JQuery: Collapsible Menu. It’s quite simple to create a collapsible and expandable menu, all you need is some basic experience with C-SS. The result of the next steps will be a User control accessible to keyboard and mouse inputs. At the beginning use your H-TML file, which also includes the JQery library. Add a Menu section which should include the headers and links of your menu. In addition mark headers and links using the a tag. These little changes will make it possible to tab through the links later. The CSS code is not that difficult if you keep it to a minimum. Comments: Noel Hurtley↯ Written on 2007-01-20 at 21:15 Thanks for the great tutorial. Paul Written on 2007-01-23 at 00:35 Great tutorial. Ty Written on 2007-01-24 at 09:12 Sweet, it resizes great I made it as big as a bus, and it still looked fine in firefox, by clicking control + about a zillion times.

Klaus Albert Written on 2007-01-26 at 01:49 great solution! My additional request: “open a predefined submenue” My solution: the complete new example: 15 Super-Simple jQuery Menu and Navigation Plugins | Speckyboy Design Magazine. There are lots of jQuery menu and navigation plugins freely available that can do anything you could possibly imagine. We love those innovative and ground-breaking plugins we really do.

But, as we are sure you will agree, the most of the time, all we basically need is a lightweight, functional and easy to style solution. Something that we can easily slot into our templates and themes and will work without any major code tinkering and requires only minor CSS tweaks. And that is what we have for you today – 15 Super Simple jQuery Menu and Navigation solutions that should make your work that little bit easier. Smooth Navigational Menu Smooth Navigation Menus contents can either be from direct markup on the page, or via an external file and fetched via Ajax.

And thanks to jQuery, a configurable, sleek "slide plus fade in" transition is applied during the unveiling of the sub menus. jQuery Simple Drop Down Menu jdMenu Hierarchical Menu jQuery Basic Menu jQuery & CSS Dropdown Menu jQuery MegaMenu 2. jQuery Performance Rules - Best Practices for Speeding Up jQuery. Once upon a time, all we needed to worry about was reducing Bytes and Requests and playing around with load order to make things faster.

Nowadays, we are increasingly impacting one more major component in performance – CPU utilization. Using jQuery and other frameworks that make selecting nodes and DOM manipulation easy can have adverse affects if you’re not careful and follow some simple practices for reducing the work the browser has to do. 1. Always Descend From an #id The fastest selector in jQuery is the ID selector ($('#someid')). This is because it maps directly to a native JavaScript method, getElementById(). Selecting Single Elements Selecting the button like this is slower: var traffic_button = $('#content .button'); Instead, select the button directly: var traffic_button = $('#traffic_button'); Selecting Multiple Elements Once we start talking about selecting multiple elements, we are really talking about DOM traversal and looping, something that is slow. 3. 4. 5. 6. 7. 8. 9. 10. CSS horizontal navigation list.