Yes, but...

If you pick one format for the first element in the hash, you have to  
follow it through all the way. So if you use camelCase notation for  
the first rule name, you can't use the quoted name for the second, and  
vice-versa.

When in doubt, quote them all (names and values) and use the regular  
CSS name of the style attribute.

Walter

On Jun 2, 2009, at 8:37 AM, IMBI-Indie-Portal wrote:

> The way I read it from the DOCS is that if it works as a HTMLDOM
> shorthand method, it should work in setStyle(); ???
> The W3 page doesn't show any value/rule references...
> I'll try the backgroundImage without the extras - I'm sure I saw an
> example somewhere using all though.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to