How do I limit a Droppable to contain only 1 Draggable?

I have a Droppable:

<div id="myDroppable">
  <div id="staticText">Description</div>
</div>

And a Draggable:

<div id="myDraggable">
  DRAG ME
</div>

Which I setup like this:

Droppables.add('myDroppable');

new Draggable('myDraggable');


Thank you,
Jason

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=.


Reply via email to