Submenu Temporary Shown on Upper Left of Screen

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
blueEinstein1
Beginner
Beginner
Posts: 7
Joined: Thu Aug 07, 2003 6:50 pm

Submenu Temporary Shown on Upper Left of Screen

Post by blueEinstein1 »

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?
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.

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."
blueEinstein1
Beginner
Beginner
Posts: 7
Joined: Thu Aug 07, 2003 6:50 pm

Post by blueEinstein1 »

Thanks; upgrading to version 5 eliminated this problem.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Well done, glad to hear it. You won't regret it. :D
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply