From: Anthony Talarico Date: Wed, 27 Jan 2016 18:39:51 +0000 (-0500) Subject: added anchors to the li hover radius X-Git-Tag: v1.0.0^2~74 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7f0699ab057be0d3ad2a86dd86ee61502ff351ea;p=WP-Themes%2Fsaultstemarie.git added anchors to the li hover radius --- diff --git a/js/app.js b/js/app.js index 30a6600..76524ee 100644 --- a/js/app.js +++ b/js/app.js @@ -204,10 +204,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat var $menuLi = $("ul#menu-top-menu li"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { $($topMenu).css("background", "none").css("font-size", "16px"); - $($menuLi).mouseenter( function () { + $($menuLi, $topMenu).mouseenter( function () { $(this).css("background", "white") ; }); - $($menuLi).mouseout( function () { + $($menuLi, $topMenu).mouseout( function () { $(this).css("background", "none") ; }); $($topMenu).css("padding", "10px 5px"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index a20a579..cf4f17e 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -195,10 +195,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat var $menuLi = $("ul#menu-top-menu li"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { $($topMenu).css("background", "none").css("font-size", "16px"); - $($menuLi).mouseenter( function () { + $($menuLi, $topMenu).mouseenter( function () { $(this).css("background", "white") ; }); - $($menuLi).mouseout( function () { + $($menuLi, $topMenu).mouseout( function () { $(this).css("background", "none") ; }); $($topMenu).css("padding", "10px 5px");