[jQuery] Variable Flag Problems
I know I'll hit myself for not figuring this one out but its driving
me crazy!
--- Function ---
User mouses over an item in navigation menu and secondary nav-menu
slides down. the variable "downYet" prevents other secondary nav menus
from sliding down....but id doesn't
--- Code ---
$(document).ready(function(){
var downYet = false;
$("#bigNavBox > li > a").mouseover(function(downYet) { //Handy
Dandy SideTab Navigation function
var name = $(this).attr("id");
if (downYet == false)
{
$("ul[jq=" + name + "]").slideDown(200);
downYet = true;
}
});
});
Thanks for the help!
~Omtay