Jquery hover, image map, toggle problem?

The imagemap is inside div. Basketballcourt When you move your mouse over court-c div. Basketballcourt is getting hidden on which the mouse out is fired on the imagemap as it gets hidden, leading to the reverse toggle.

The imagemap is inside div.basketballcourt. When you move your mouse over #court-c,div. Basketballcourt is getting hidden on which the mouse out is fired on the imagemap as it gets hidden, leading to the reverse toggle.

That makes sense. So if I hover on Area-C and want another image to appear, it will replace the imagemap, causing it to hide, which reverses my toggle. How can I do this?

– Xtian Apr 7 at 11:27 have a check in the hover function. If the imagemap is hidden, don't execute the toggle methods. – sv_in Apr 7 at 12:21.

Use the jQuery .mouseenter() and .mouseleave() event ... .hover() fill be fired more than on time during hovering ...

I still have the same issue, because the imagemap gets covered up when mouseenter() is called, making it think it a mouseleave() occured. – Xtian Apr 7 at 11:32 tricky thing though ... the mouseenter and leafe fires constantly while moving in the area ... – haemse Apr 7 at 12:03.

Here is what I ended up doing. I put in a PNG for the image map, gave it a really high z-index, and put mulitple divs underneath it hiding and showing them based on the hover of the PNG. Seems to be working pretty well.

Since the invisible PNG will always be on top the imagemap doesn't go away. Thanks for helping me think it through. Unless anyone can think of a better way of handling this?

Ok here is what I tried sucessfully ... I do not really get, what you exactly want to achieve but this worked.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions