Return to Snippet

Revision: 9796
at November 22, 2008 19:47 by bcalloway


Initial Code
$(document).ready(function() {
//Main nav drop-downs
  $('#header ul li').each(function() {
    $(this).mouseover(function() {
      $(this).children('ul').css("display", "block");
    });
    $(this).mouseout(function() {
      $(this).children('ul').css("display", "none");
    });
  });
});

Initial URL

                                

Initial Description
Simply jQuery script for CSS drop-down menu

Initial Title
jQuery drop-down navigation

Initial Tags
javascript, navigation, jquery

Initial Language
JavaScript