Hi Colin...thanks for that....i should have realiszed that's what the documentaiton was trying to say!
On Sep 9, 10:45 am, ColinFine <[EMAIL PROTECTED]> wrote: > On Sep 8, 10:12 am, elduderino <[EMAIL PROTECTED]> wrote: > > > I need to set more than one class for the accept param in the > > droppables api.http://github.com/madrobby/scriptaculous/wikis/droppables > > says you can 'Set accept to a string or an array of strings > > describing CSS classes' but i've tried all sorts: > > > Droppables.add('droppable'+this.gameCount+ '_' + dropZoneCount, { > > accept: 'dragMe,'andMe'', > > > Does not work.....how do i do this?! > > IIRC the documentation is slightly misleading - you can use a string > if there is only one class, but if you want multiple classes you must > use an array: > > accept: ['dragMe', 'andMe'] > > Colin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
