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 sure?");
if(!conf) {
return false;
}
}
new Draggable('revertbox1',{handle:'handle1',revert:function(element){return
($('shouldrevert1').checked)},endeffect: function(element) {
setTimeout("sure()", 250);}});
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
A!!! Now I understand what you saying!!!!!!!!
Revert option depends on the result of the confirmation dialog!! Sure???
Hehehehe, Thanks so much!!!
--
Mis Cosas
http://blogs.sistes.net/Garito/
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs