Cancelling the event for jQuery imgAreaSelect

I have been using this excellent jQuery plugin which allows the user to draw a lasso around several objects to highlight then and bulk change them. However, they way I was using it, meant that the div that the event was bound to always drew the selection object. And I needed it to be draggable at the same time (like a switch)

So it was easy really, I used the unbind() event:


Job done

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.