I'm currently involved in creating a map of MIT projects for an architectural firm, and facing the challenge of maintaining the red dots mouseover state even when the mouse hovers over the tooltips that appear. Presently, the mouseover effect turns off when hovering over the tooltips.
In addition, I require the tooltips to be cleared and turned off when either the dot or the link within the tooltip is clicked. On an iPad, I observed that after clicking a tooltip link leading to a project page and then returning to the map page using the back button, the last tooltip remains open unexpectedly. This issue does not seem to occur on desktops, but it is crucial for mobile devices to have the tooltip cleared upon hitting the back button.
You can find the site I'm referring to here: and the corresponding stylesheet here:
Below is the CSS code related to the circle sprite for each button - my aim is to connect these with the tooltips. Specifically, I wish for the red circle hover state to persist when the mouse moves from red circle button 11 to its respective tooltip until it moves away from the tooltip.
#button { background:transparent url(../images/red-circle.png) no-repeat scroll 0px -2px; display:block; height:23px; width:23px; } #button:hover { background-position:0 -25px; opacity: 1; }'
Furthermore, what would be the most effective method to ensure the tooltip closes when any link within it is clicked? Unusually, on mobile devices, if you tap to activate the hover state and then click a link inside it, the tooltip remains open upon hitting the back button.