I have a file.jsp with a flip menu defined. I have 2 options "Show All" and "Hide All" that shows/hides the flip menus.

Now, it works fine with IE and FireFox.

What I want is the flip menus to be closed when the page is loaded.... so I have add:

Code:
<body onLoad=closeAllFlips();>It works with Firefox but does not work with IE.
What am I doing wrong???? Please, help me.

Elisabeth

Here is the file.jsp

Code:
<html>
<head>
<script type="text/javascript" language="JavaScript"  src="flipmenu.js">
</script>
<body onLoad=closeAllFlips();>
<ul class="flipMenu">
<li>Section 1
    <ul>
    <li><ahref="#">I1.1</a></li>
    </ul>
</li>
<li>Section 2
   <ul>
   <li><a href="#">I2.1</a></li>
        <li>Sub-Section 2.1
        <ul>
        <li><a href="#">I2.1.1</a></li>
        </ul>
    </li>
    </ul>
</li>
<li><a href="javascript:closeAllFlips()">Hide All </a></li>
<li><a href="javascript:openAllFlips()">Show All</a></li>
</ul>
</body>
</html>