jQuery treat hover on two elements as one elements
- by davewilly
I have an image map which I have overlaid with some markers in the form of anchors.
I currently have a hover trigger on each image map area and the associated anchor - as shown in screen shot
I need to treat these two elements as one, as currently when mouse is moved out of one onto the other it calls .hover() and callback again. I want to call hover callback only when mouse is moved out of either elements.