On Oct 12, 5:28 am, kamiseq <[EMAIL PROTECTED]> wrote: > try to put your class style definition in your css file > and then change only the name in className, and the fact is that class > name changing is always faster then using something like style="" in > pure JS.
In IE, I've always found the opposite to be true. If you change an element's class in IE, the resulting re-flow of the document can be very slow. For things like changing styles on hover, I always directly manipulate the style of the object rather than change the class, since class changing introduces a noticeable lag in IE. Matt Kruse