Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:41

Way to hide menu till loaded?


Poster: jaybrowne __at__ hotmail.com
Dated: Tuesday April 23 2002 - 21:46:40 BST

Is there a way to hide the menu until the page is loaded then show the menu? I tried adding a visibility attribute in the .js file where i thought the menus were getting created but it didnt seem to work.

http://www.dfseals.com is the site that is use the menu on. If you go there you will see what i'm talking about.. when the page loads the menu is in the top r-hand corner of the page then when the page is finished loading it moves to the correct spot.

I'd like to just have it not visible then in the page load event make the menus visible.

I'm placing the menu in a table cell. Don't know if that matters or not.

Am I doing something wrong?

thanx

Great code by the way..

Re: Way to hide menu till loaded?


Poster: chris __at__ fmews.demon.co.uk
Dated: Sunday April 21 2002 - 17:58:30 BST

^bump

Re: Way to hide menu till loaded?


Poster: deckard97 __at__ mac.com
Dated: Monday April 22 2002 - 20:54:26 BST

Hi,
I checked out your site in Netscape 4.72 and the menus don't load.

Just thought you should know.

Sean Duffy

Menus


Poster: Anonymous
Dated: Tuesday May 21 2002 - 15:34:31 BST

I wish I knew the answer to what you were asking, but I don't. Still just wanted to say that the site looks good, even though the menus load the way they do. Good Job. :D


Poster: marty
Dated: Tuesday May 21 2002 - 19:27:19 BST

"even though the menus load the way they do" ??

All looks good to me :P


Poster: yadin
Dated: Sunday May 26 2002 - 15:01:18 BST

There is a trick for this. When loading the menu in a table cell the menu is loaded a the default position in the array file and then snaps to the table cell last. The trick then is to set the top and left coordinates to negative numbers so the menu starts loading well off screen. The illusion is that the menu just appears in place instead of jumping since you can't see it in the original off page location.
Cheers!
Yadin