Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

prevent tooltip from triggering a hover off event for element beneath it?

I have a div containing an image that uses jQuery to detect mouse on/off and uses this to show elements when the cursor is over the image, including an image map that has hotspots tooltips appear from. But if the cursor goes over the tooltip the site thinks its also gone off the div container and hides things. This behavior can be seen here if you hover over the craft image: http://www.kerbalspace.agency/Tracker/craft.asp?db=dtptest

Any way to keep this from happening?

Comments

  • my solution was to use a setTimeout() call with a 250ms delay in the hover off function for the image to give time for the tooltip to close before it double-checked whether the mouse was in fact off the image or not
Sign In or Register to comment.