jquery hover menu question

Posted by vondip on Stack Overflow See other posts from Stack Overflow or by vondip
Published on 2010-05-28T00:25:14Z Indexed on 2010/05/28 0:31 UTC
Read the original article Hit count: 235

Filed under:

Hi all,

I am developing a small web app that uses jquery quite a lot. In my app a user can hover an image, which becomes bigger after a few seconds, giving him more details. The problem is that when the image enlarges the image, it takes over the area of the nearby images as well. Now, if the user goes over the second red square (numbered as 2) I would like the currently enlarged image to disappear and instead enlarge the image pictured below as square two.

I am not much of a painter, but I have attached a small image to help illustrate the problem.

In short, How can I tell jquery to detect when the mouse is over red square number two, yet not raising the event if the mouse is over green square.

[in my demo picture, hovering on point]

Hovered menu sample

© Stack Overflow or respective owner

Related posts about jQuery