In the code, I specified the <script>PlaceMenu('name')</script> in the right <td> cell. However, whenever I load the page, I see it on the upper left for like 1-2 seconds before it displays on the appropriate field.
Any ideas?
Submenu Temporary Shown on Upper Left of Screen
-
- Beginner
- Posts: 7
- Joined: Thu Aug 07, 2003 6:50 pm
Got a URL we could see?
BTW you could try hidding the menu for a set amoun of time and then showing it. Like do what you're doing but make your main menu alwaysvisible = 0 so it doesn't show by default. Then have your onLoad event call a function (seen below) that makes the menu appear, hopefully after its moved into the right position.
BTW you could try hidding the menu for a set amoun of time and then showing it. Like do what you're doing but make your main menu alwaysvisible = 0 so it doesn't show by default. Then have your onLoad event call a function (seen below) that makes the menu appear, hopefully after its moved into the right position.
Code: Select all
<script language=javascript>
function menuAppear()
{
mn=getMenuByName("MainMenu")
menu=eval("menu"+mn)
menu[12]=1; //menu[12] is the alwaysvisible attribute of the menu
}
</script>
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
-
- Beginner
- Posts: 7
- Joined: Thu Aug 07, 2003 6:50 pm