Reputation: 6000
I've two (but maybe more) DIV
s, animated through jQuery
; so now they are running all over my screen, following pseudo random paths.
I want to fire an event every time part of a DIV
overlaps part of another one. Any ideas?
Upvotes: 0
Views: 678
Reputation: 422
You could use something like this http://sourceforge.net/projects/jquerycollision/ and check for collisions after each animation step.
Upvotes: 3