Subscribe via RSS

Smooth, nested drop down menus from semantic markup. Simple integration, limited flexibility – you’ll either love it or hate it.
Quick and dirty nested drop-down menu in the jQuery styleee. I needed a nav like this for a recent project and a quick Googling turned up nothing that really suited, so droppy was born. It hasn’t been designed with flexibility in mind – if you like what you see, great, integration should be a breeze – otherwise I’d look for something more configurable elsewhere.

Usage

No mandatory configuration options or nothin’ here, just use include the Javascript/CSS resources and insert the following code in your
 document head, or any other suitable place:
Javascript:

<script type='text/javascript'>
  $(function() {
    $('#nav').droppy();
  });
  
And here’s some example HTML markup:
HTML:
Droppy supports a single configuration option, speed, for setting the animation time.
Example with custom speed:
  
The example CSS file has been split up into three small sections for ease of customisation if you feel like getting your tinker on. As of version 0.1.2, the ‘hover’ CSS class is applied to both < li > and < a > tags inside the menu on rollover, improving skinability with IE6.

Demo: http://onehackoranother.com/projects/jquery/droppy/
Download: http://plugins.jquery.com/files/droppy-0.1.2.zip
Source: http://onehackoranother.com/projects/jquery/droppy/


Posted by ABDUL SABOOR Sunday, February 7, 2010

0 comments

Post a Comment