diff --git a/left.js b/left.js index 932ab4887..580a215da 100644 --- a/left.js +++ b/left.js @@ -9,14 +9,16 @@ // Rewritten and put in a libray 2nd May 2001 by Loïc Chapeaux // Test passed with: -// - Mozilla 0.8.1 for Windows (js enabled & disabled) +// - Mozilla 0.8.1, 0.9.0, 0.9.1, 0.9.2 for Windows (js enabled +// & disabled) // - IE5, 5.01, 5.5 for Windows // - Netscape 4.75 for Windows -// - Opera 5.02 for windows (js disabled) -// Test failed with: -// - Opera 5.02 for windows with js enabled -> crappy DOM implementation -// ('getElementsByTagName' is unsupported), nothing to do :( +// Test failed (crappy DOM implementations) with: +// - Opera 5.02 for windows: 'getElementsByTagName' is unsupported +// - Opera 5.10 to 5.12 for windows, Opera 5+ for Linux: 'style.display' can't +// be changed +// - Konqueror 2+: 'style.display' can't be changed var isExpanded = false; @@ -47,29 +49,6 @@ if (isNS4) { } -/** - * Specific stuffs for IE4 - */ -function doDocumentOnMouseOver() { - var eSrc = window.event.srcElement ; - if (eSrc.className == 'item') { - window.event.srcElement.className = 'highlight'; - } -} // end of the 'doDocumentOnMouseOver()' function - -function doDocumentOnMouseOut() { - var eSrc = window.event.srcElement ; - if (eSrc.className == 'highlight') { - window.event.srcElement.className = 'item'; - } -} // end of the 'doDocumentOnMouseOut()' function - -if (isIE4) { - document.onmouseover = doDocumentOnMouseOver ; - document.onmouseout = doDocumentOnMouseOut ; -} - - /** * Gets the id of the first collapsible room * @@ -238,35 +217,45 @@ if (capable) { // to write(). if (isDOM) { var lstyle = '