Re: [Rails-spinoffs] Draggable issue

2006-06-09 Thread Garito
Leon Chevalier escribió: -Original Message- Sortable? Need to stop the dragg effect isn't it? A sortable adds a drag to each of its elements, so it's the same. >From "dragdrop2_test.html" in scriptaculous-js-1.x.x\test\functional function sure() { conf = confirm("Are you su

RE: [Rails-spinoffs] Draggable issue

2006-06-09 Thread Leon Chevalier
-Original Message- Sortable? Need to stop the dragg effect isn't it? A sortable adds a drag to each of its elements, so it's the same. >From "dragdrop2_test.html" in scriptaculous-js-1.x.x\test\functional function sure() { conf = confirm("Are you sure?"); if(!conf) { return f

Re: [Rails-spinoffs] Draggable issue

2006-06-08 Thread Garito
Leon Chevalier escribió: -Original Message- How can I stop the draggable to follow the cursor? - You can run your confirmation script after a timeout. For example: function sure() { conf = confirm("Are you sure?"); if(!conf) { return false; } } Sortable.create('thelist',{ende

RE: [Rails-spinoffs] Draggable issue

2006-06-07 Thread Leon Chevalier
-Original Message- How can I stop the draggable to follow the cursor? - You can run your confirmation script after a timeout. For example: function sure() { conf = confirm("Are you sure?"); if(!conf) { return false; } } Sortable.create('thelist',{endeffect: function(element) { s

[Rails-spinoffs] Draggable issue

2006-06-07 Thread Garito
Hi all! I have some draggables objects that I can drop them on another one When I drop an element I need to ask for confirmation At this point the draggable object follow the cursor to the confirm dialog How can I stop the draggable to follow the cursor? I try to create a system where you can