JQuery extension to return the collisions between two selectors. Handles padding, margin, borders, and can determine either overlap or portion outside. Returns JQuery "overlap" objects. Requires: jquery1.8.3+, examples also require: jqueryui1.9.2+
Try it out: http://eruciform.com/jquerycollision/
If you like this, try: http://sourceforge.net/projects/jquidragcollide/
Features
- Calculates collisions between jQuery selectors
- Returns either obstacles that collided, or the overlaps themselves
- Provides the directionality of the collisions
- Can be configured to provide collisions relative to the collider, obstacle, or any selector
- Can be configured to track a collider escaping from a restraint instead of a direct collision
- Documentation: https://sourceforge.net/p/jquerycollision/wiki/Home/
License
MIT LicenseFollow JQuery Collision
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of JQuery Collision!