[jQuery] [HELP] Simple Hover Over Menu
It's been a while since i've used jQuery and i've been tainted by the
wonderful world of ExtJS so excuse me if im missing some very simple
things here.
I'm attempting to make a very simple mouseover menu system, it's a two
tier menu that is using two simple UL's one for the triggers and one
for the hidden content.
Now what im struggling with is being able to get to the element and
remove the hide class, i thought something like this should have
worked.
$(document).ready(function() {
$(".main-navigation > li").mouseover(function() {
class = $(this).attr("class");
$("#sub-navigation ul").find('.' + class).removeClass("hide");
});
});
But it seems im missing something anyone steer me on the right tracks?!