[jQuery] Drop down menu
[jQuery] Drop down menu
Hi, I am trying to make a drop down menu. I have half of it but I need a sub menu off to the left. I am using this jquery code.
$(document).ready(function(){
$("#nav-one li").hover(
function(){ $("ul", this).fadeIn("slow"); },
function() { }
);
if (document.all) {
$("#nav-one li").hoverClass ("sfHover");
}
$("#subnav li").hover(
function(){ $("ul", this).fadeIn("slow"); },
function() { }
);
if (document.all) {
$("#subnav li").hoverClass ("sfHover");
}
});
$.fn.hoverClass = function(c) {
return this.each(function(){
$(this).hover(
function() { $(this).addClass(c); },
function() { $(this).removeClass(c); }
);
});
};
Here is the page it is one.
http://www.tjshafer.com/cortek/
Any ideas?
Thanks, TJ
http://www.tjshafer.com/cortek/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/