I wrote such code:
***
$(document).ready(function() {
$(".draggable").draggable({
revertDuration:1000,
scope:'board',
opacity: 0.50,
snap:true,
snapMode:'inner'
});
$(".blackPiece").droppable({
accept: ".draggable",
scope:'board'
});
});
****
I thought that this snippet would prevent dropping dragged elements on
"not-droppable" ones. But it is not. How can I make my plans in life?
=)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---