I don't have an example right now but I can tell you how I do it When I want just one draggable to be dropped - I destroy the draggable after the drop happens or hide the dropzone and show a "filled" element so that the user knows that there is something in it
I can dig up an example later if you need one Jason Westbrook | T: 313-799-3770 | [email protected] On Mon, Feb 25, 2013 at 7:29 AM, Jeff Hight <[email protected]> wrote: > Could someone shoot me a quick example of how to limit the number of > draggables a droppable can contain to just one? > > Thanks! > > jH > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
