The thing is, it doesn't evaluate each parameter to see which method you've used. If your first element is not quoted, it will assume camelCase throughout, and if it is, then it will assume 'parameter- name' throughout instead.
Walter On Feb 3, 2009, at 1:44 PM, Eric wrote: > Documentation says Element.setStyle should accept both casing (dom- > like (with-dashes) and javascript like (withCamelCase) but it looks > like none of them work for this property... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
