Thanks Alex I was able to define the drop targets using the class, so it seems I have #1 covered (Figured that out yesterday reading the docs), but I am still not sure how to accomplish #2 & 3. I have been all over the docs on GetHub as well as the random sites google pulled up when searching... Still stuck..
On Sep 6, 5:16 am, "Alex McAuley" <[email protected]> wrote: > Drag / Drop allows you to set an accept field which is based on a classname > > HTH > > Alex Mcauley > > http://www.thevacancymarket.com > > > > ----- Original Message ----- > From: "Script-N00b" <[email protected]> > To: "Prototype & script.aculo.us" <[email protected]> > Sent: Saturday, September 05, 2009 7:52 PM > Subject: [Proto-Scripty] How can this be done in Drag & Drop? > > > I seem to be able to setup a one-to-one relationship but not able to > > fully able to accomplish what I am looking for. Mostly because I am > > still a novice to script.aculo.us... > > > I have the following items (Draggables): > > item_A_1 > > item_A_2 > > item_A_3 > > item_B_1 > > item_B_2 > > item_B_3 > > item_C_1 > > item_C_2 > > item_C_3 > > > And the following groups (Drop Targets): > > group_A > > group_B > > group_C > > > I would like to accomplish a few things: > > > 1 - Lock each item to their respective group (IE: only A items in > > group_A, only B items in group_B, etc..) > > 2 - Define amount of items in each group (IE: only one item in > > group_A, three items in group_B, 2 items in group_C) > > 3 - Submit the form when complete > > > I would like to be able to switch out the items if desired (IE drag > > item_A_2 into group_A to replace item_A_3 and item_A_3 goes back into > > the list) > > > is this a pipe dream? Any help or shove in the right direction would > > be most awesome! > > > Thanks!- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
