On 05/09/06, Dan Atkinson <[EMAIL PROTECTED]> wrote:
>
> Wycats,
>
> I used that code from visualjQ as a template, and it didn't work. In IE, I
> get a debug error saying that it expects ':'. I changed font-weight:... to
> 'font-weight':... and IE went straight over it, without modifying the
> weight.
>
> Klaus, Class would be a simple option. But now this has me thinking! :)
>
>

Every time you have a '-' in a property, remove it and replace the
next character with an uppercase representation of itself. For
example:

fontWeight
fontSize
fontFamily
borderWidth
borderStyle
borderBottomWidth

etc

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to