Tolerance
JQuery extension to return the collisions between two selectors.
Status: Beta
Brought to you by:
eruciform
Hi there,
My program involves collecting collision data of absolutely positioned 'marquees' with a grid below. Sometimes my marquees have borders which means their overall size is bigger, this means they collide with more table cells than desired.
I would like to be able to ignore the extra width and height cause by the border by setting a px tolerance value. Say if the border is 1px then I would set a collision tolerance of 2px.
Now I write this, perhaps tolerance isn't even the right word - I hope you see what i am getting at anyway.
Many thanks
Many thanks!
did you try setting a negative margin on the collider? haven't tried this yet, but it might help...