Page is a not externally linkable
rwilson - 8:23 pm on Aug 10, 2012 (gmt 0)
Thanks! so I tried to take that concept and apply to the hoverIntent Jquery plugin because, setTimeout doesn't seem to be what I'm looking for. I think I'm close but it isn't working yet.
[jsfiddle.net...]
$(document).ready(function () {
$(".mainNav-expand").hoverIntent(showNav,hideNav);
var that = this;
$("#mainNav-bar").mouseout(function() {
$('.mainNavContent').hide();
});
$(".mainNav-close").click(function() {
$('.mainNavContent').hide();
});
});
function showNav() {
$(that).children('.mainNavContent').show();
alert("menutest");
}
function hideNav() {
$(that).children('.mainNavContent').hide();
alert("menutest");
}