I like my menu to be interaction on :hover
.
So here is the code:
$('#menu img').hover(function (){
$(this).removeClass();
$(this).addClass('menuon');
return false;
}, function(){
$(this).removeClass();
$(this).addClass('menuoff');
return false;
});
This code works fine, but the side effect is when the menuon state is over, it looses it class and become off.
On do you handle that.... I like the on state to stay on!
Here is the working page