Skip to content
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.

Latest commit

 

History

History
19 lines (10 loc) · 597 Bytes

README.markdown

File metadata and controls

19 lines (10 loc) · 597 Bytes

overlaps

A jQuery plugin that detects if one or more elements are overlapping.

The overlaps method exposes two modes of operation. First mode is to filter the selected elements to only those that overlap. The second mode is to compare one set of elements against another and return only the elements that overlap.

// filter result set
$('div').overlaps();

// test if one element overlaps another
$('#div1').overlaps('#div2');

License

The overlaps plugin is licensed under the MIT License (LICENSE.txt).

Copyright (c) 2013 Brandon Aaron