Tuesday, November 27, 2012

Design horizontal and vertical dropdown menu using superfish

Designing  a drop down menu may take a few hours. Using Superfish library, you can save a lot of time in drop down menu design.
Superfish library can be downloaded from:
Superfish is an enhanced Suckerfish-style menu jQuery plugin that takes an existing pure CSS drop-down men. Superfish automatically detects the presence of Brian Cherne’s hoverIntent plugin and uses its advanced hover behavior for the mouseovers
To use Superfish is quite simple:
<script type="text/javascript" src="superfish.js"></script>
    $(document).ready(function() { 

Demo for Superfish horizontal drop down menu:
Demo for Superfish vertical drop down menu:
You only need to change the following from horizontal menu:
<link rel="stylesheet" media="screen" href="css/superfish-vertical.css" />
At the beginning of menu list in HTML code, change
<ul class="sf-menu ">
<ul class="sf-menu  sf-vertical">

1 comment:

  1. Usually I don’t learn article on blogs, but I would like to say that this write-up very compelled me to try and do it! Your writing style has been surprised me. Thank you, quite nice article.
    website design