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 prototype-scriptaculous@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to