Binding and unbinding mouseout while dragging.
I want to be doing something like this:
- $(".drag").draggable({
-
- start: function(event, ui) {
- $('.clickme').unbind('mouseout');
- },
-
- stack: { group: 'products', min: 50 } ,
-
- stop: function(event, ui) {
-
- $('.clickme').bind('mouseout');
- }
- });
But it doesn't seem to be working. The unbind works fine but the bind on stop dragging doesn't work. I've tested the stop event with an alert and it is called an works - its just the mouseout event doesn't get bind again.
Any help much appreciated. Thanks.