<Script language = "JavaScript" type = "text/JavaScript"> function preloadimg (SRC) {var IMG = new image (); IMG. src = SRC} preloadimg ("images/f_bar.gif"); var displaybar = true; function switchbar (OBJ) {If (displaybar) {parent. frame. cols = "0, 7, *"; displaybar = false; obj. src = "images/e_bar.gif"; obj. alt = "open management navigation menu on the left";} else {parent. frame. cols = "160,7, *"; displaybar = true; obj. src = "images/f_bar.gif"; obj. alt = "Close left navigation menu" ;}</SCRIPT>
<Table width = "7" Height = "100%" border = "0" cellpadding = "0" cellspacing = "0"> <tr> <TD align = "right" onmouseover = "This. style. backgroundcolor = '# c8f2fb' "onmouseout =" this. style. backgroundcolor = '# ffff' "style =" cursor: pointer; Background-color: # ffffff; "> <a href =" javascript: void (0 ); "> </a> </TD> </tr> </table>
I passed the test in IE, but it is not compatible with ff and cannot trigger mouse events. I hope you can read the code that is compatible with ff and IE. Thank you!