<!DOCTYPE html> <html> <head> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <link href="style.css" rel="stylesheet" type="text/css"/> <style type="text/css"> #aghanimsscepter { position: absolute; width: 38px; height: 38px; background: silver; padding: 0px;} (...) #droppable1x1 { top: 38; width: 38px; height: 38px; background: gray; color: white; padding: 0px; float: left;} (...) </style> <script> $(document).ready(function() { $("#aghanimsscepter").draggable(); (...) $("#droppable1x1").droppable({ drop: function(event, ui) { var id = ui.draggable.attr("id"); $(ui.draggable).css('top',$(this).position().top); $(ui.draggable).css('left',$(this).position().left); $(this).droppable("disable"); } out: function(event, ui) { $(this).droppable("enable"); } }); (...) }); </script> </head> <body style="font-size:62.5%;"> <center> <table> <img src="images/bars/items.png" /> <table> <tr height="38"> <td style="width: 38px;"> </td> (...) </tr> </table> (...)
, w którym nie działa przeciąganie

Jak wywalę:
out: function(event, ui) { $(this).droppable("enable"); }
To zaczyna działać


Spotkał się już ktoś z czymś takim?