From: Anthony Talarico Date: Mon, 1 Aug 2016 14:59:50 +0000 (-0400) Subject: adjusted the hover pop out div y by 20 px so the top most hover trigger doesn't open... X-Git-Tag: v1.0.25^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=8700477cd55ed122d0073da9d43b98d7dac2ebe6;p=WP-Themes%2Fcamppetosega.git adjusted the hover pop out div y by 20 px so the top most hover trigger doesn't open the div off screen after hover --- diff --git a/campground-map.php b/campground-map.php index 7ab0bcf..b74b4d9 100644 --- a/campground-map.php +++ b/campground-map.php @@ -360,8 +360,8 @@ $js_categories = json_encode($categories); tool_tip[0].style.left = x + pop_up_width + "px"; tool_tip[0].style.top = (y - pop_up_height - 5) + "px"; } else if( side == "right"){ - tool_tip[0].style.left = x - pop_up_width + "px"; - tool_tip[0].style.top = (y - pop_up_height - 5) + "px"; + tool_tip[0].style.left = x - pop_up_width - 10 + "px"; + tool_tip[0].style.top = (y - pop_up_height + 20) + "px"; } }, function () {