[TYPO3] Active page not highlighted in pagetree (vers. 4.0)

Armin Günther armin.guenther at augusta.de
Sat Jun 17 16:47:31 CEST 2006


Hi all!

Problem: When typo3, ver. 4.0, is used with IE (6.x) there is no page 
highlighting in the pagetree of the BE.

Workaround: typo4 uses following javascript to set the class attribute 
of the acitve page:

theObj.setAttribute("class", "navFrameHL");

This does not work for IE. You have to use

theObj.setAttribute("className", "navFrameHL");

You may change in typo3/alt_db_navframe.php (and probably in 
typo3/alt_file_navframe.php) the function hilight_row():

Replace

        if (theObj)    {
            theObj.setAttribute("class", "");
        }

by

        if (theObj)    {
            theObj.setAttribute("class", "");
            theObj.setAttribute("className", "");
        }


and replace

        if (theObj)    {
            theObj.setAttribute("class", "navFrameHL");
        }

by

        if (theObj)    {
            theObj.setAttribute("class", "navFrameHL");
            theObj.setAttribute("className", "navFrameHL");
        }

Just a workaround no stable solution since you have to change the typo3 
core.

Greetings,
Armin



More information about the TYPO3-english mailing list