[TYPO3-core] RFC: bug #2874 highlighting page in navTree and IE

Martin Kutschker Martin.Kutschker at blackbox.net
Sat May 20 17:08:57 CEST 2006


Ingmar Schlecht <ingmar at typo3.org> writes on 
Sat, 20 May 2006 16:35:55 +0200 (METDST):

> +1, based on reading the code.
> 
> Using theObj.className is definitely the way to go.


MS docs sate this concerning setAtribute and the class atribute:

'When setting the CLASS attribute using this method, set the sName to be "className", which is the corresponding Dynamic HTML (DHTML) property.'

So it only works when you use "className" [sic!] in IE. *

This is stupid, since setAttribute *should* be the way to go.

So +1 for fixing this compatibilty issue.

Masi

* The docs are true, it works for "className", but then it breaks in Firefox ... 



More information about the TYPO3-team-core mailing list