Fabian Leidig
Fabian Leidig

Reputation: 21

jQuery .hover with elements under it

please check out: JSFiddle Example

What I want to get is a working hover with every of the 4 squares. For example if the first blue square is hovered and I scroll the mouse a little bit to the right until it enters the green square (which is under the hovered blue square) the green square should get hovered.

Hope someone can help!

Upvotes: 2

Views: 638

Answers (1)

Teun Zengerink
Teun Zengerink

Reputation: 4393

Try this jsFiddle solution in which I only changed the JavaScript.

Upvotes: 4

Related Questions