On Aug 29, 2006, at 5:35 PM, Beau Hartshorne wrote:
> On 29-Aug-06, at 2:07 PM, Zachery Bir wrote:
>
>>> I just figured it out. One must use the camel case notation for the
>>> CSS
>>> attribute lists. It would perhaps help to mention that in the
>>> doco. :p
>>
>> You're in Javascript, not CSS. Put it in a .css file, or use
>> Javascript notation for style declarations.
>
> I don't think it's necessarily clear that you should use camelCase
> there. mirage, what should the docs say? Could you open a ticket
> with your suggested clarification? Just an example using {'style':
> {'backgroundColor': 'red'}} might be enough.
Maybe, *shrug*, every Javascript reference I've seen points out that
css style attributes need to be camel cased. Just because they're in
quotes here doesn't strike me as obviating that. It's still in
Javascript source. :^)
Zac
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---