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/

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow JQuery Collision

JQuery Collision Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JQuery Collision!

Additional Project Details

Intended Audience

Developers

Programming Language

JavaScript

Registered

2011-05-17