Cheers m'dears. Is this documented anywhere though?
Sam Collett wrote: > > 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/ > > -- View this message in context: http://www.nabble.com/Font-weight-modifier-in-jQuery-tf2220759.html#a6153914 Sent from the JQuery forum at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/