$(".nav-main ul.fsNavLevel1 > li.fsNavParentPage").on("mouseenter",function() {
var _self=this;
$("#fsHeader").animate({
"height":$("#fsHeader .fsBanner").height()
},150);
$("#fsHeader").animate({
"height":$("#fsHeader .fsBanner").height()+$(_self).find(">.fsNavPageInfo").outerHeight()
},150);
});
$(".nav-main ul.fsNavLevel1 > li.fsNavParentPage").on("mouseleave",function() {
var _self=this;
$("#fsHeader").animate({
"height":$("#fsHeader .fsBanner").height()
},150);
$("#fsHeader").animate({
"height":$("#fsHeader .fsBanner").height()-$(_self).find(">.fsNavPageInfo").outerHeight()
},150);
});
htt p://s ac re dsf.fi nal site .co m/
I’m trying to push down the main page during the hover dropdown, but the show/hide is a bit buggy. Should be pretty obvious looking at it. Can someone jump in and let me know how you’d do this? Having some difficulty getting the JS to get the proper numbers, and not a JS height that’s still in transition .