I'm very new to JavaScript let alone JQuery, Although I've been picking it up slowly I have come across a problem with a hover effect. I'm am using a plugin called lavalamp and its been giving me problems for a while regarding a multi-dimensional menu. I have tried .noLava without success so I decided to try and hide the tracking LI element once the sub UL layer was hovered (because the moment a dub layer was hovered the tracking LI would follow in unnatural places).
$(" #top_menu ul li ul").hover(function(){
$('li.backLava').hide(300)
},
function(){
$('li.backLava').show(100)
}
);
This code works once I hover the sub menus, yet the problems is that when i goto another sub menu then back to the first sub menu, the tracking LI will show again. also when i hover out the sub menu to the page, it sometimes wont show back. Although trying to do this menu has been a good experience while gaining skills in JS and JQuery. Its now starting to become beyond a joke, I have skills in PHP, CSS, HTML, C# etc. Yet JS just doesn't seem like it does whats being asked sometimes..
So any help will greatly be appreciated thanks.