PDA

View Full Version : Trying to figure out DD



haibijon
16 Apr 2007, 5:47 PM
So, I'm having a hard time figuring out how to define drop zones for draggable items.



<div id="dropzone-a">
<div id="dragitem-a">Drag Me.</div>
</div>

<div id="dropzone-b">
<div id="dragitem-b">Drag Me.</div>
</div>


I can't figure out how to define dropzones a&b so that either dragitem can be dropped in either zone. Tried searching the forum to no avail, so if anyone has any examples or links they'd be a huge help. 有り難うよ!