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
-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
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
-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
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