Selectables lasso code is incomplete - with fix.

Selectables lasso code is incomplete - with fix.


I discovered that the Selectables lasso select does not work as
advertised. From experimentation with the live demo and from looking
at the drag/select code in the class itself I determined that the
lasso only works when your mouse touches a selectee. This means the
lasso doesnt work at all and it might as well be called click-drag-
touch selection which has limited utility. Try the demo yourself and
you'll see. If you are careful not to touch the selectable divs you
can get a square around them that wont select them.
Anyway, I rewrote Selectable start, stop, and drag and added
childBoxes, getChildBoxes, and isPointInBox. These new functions
handle proper boundary detection and are currently properly detecting
if a lassoed region bounds selectees and is also tagging them as
selected properly. I also added a new options parameter 'tolerance'
which can be 'fit' or 'intersection'. If fit is chosen the lasso must
surround something, whereas intersection only requires that part of
the selectee be in the lasso.
I'll submit my updated code as soon as I have it cleaned up. Our team
is going to use it for a couple of days to make sure it's kosher then
we'll hand it over to you guys. If you've got someone on this tell
them to wait. It would be a shame to waste time on it when we've
knocked out the worst of it.
J