adjusted the hover pop out div y by 20 px so the top most hover trigger doesn't open...
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 1 Aug 2016 14:59:50 +0000 (10:59 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 1 Aug 2016 14:59:50 +0000 (10:59 -0400)
campground-map.php

index 7ab0bcf..b74b4d9 100644 (file)
@@ -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 () {