My dropdown fade effect that I use on regular HTML/CSS sites is not working too well with this WordPress site: http://174.120.235.57/~phvne/
I’m putting the script calls in the footer right before the closing body tag.
I’m new with using jQuery and WordPress…any help is greatly appreciated!!!
Here’s the jQuery code I’m using:
jQuery(document).ready(function( $ ) {
var speed=500;
$('#nav li').hover(
function () {
//show its submenu
$('ul', this).fadeIn(speed);
},
function () {
//hide its submenu
$('ul', this).fadeOut(speed);
}
);
});
Try using this:
That’s what I use for my dropdown, and it works fine.
Just to be safe, you may want to avoid conflict with other JQuery on the page.
For example, you may try the following: