Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to: Make drop down menu from nav?


peterverkooijen
Participant

@peterverkooijen

Here is a clearer example.

jQuery comes with WordPress, but remember to change $ to jQuery in the javascript, like this:

jQuery(document).ready(function(){
jQuery('li.headlink').hover(
function() { $('ul', this).css('display', 'block'); },
function() { $('ul', this).css('display', 'none'); });
});

It’s to prevent clashes with other javascript libraries.

Skip to toolbar