Way to hide menu till loaded?
-
- Beginner
- Posts: 2
- Joined: Sun May 19, 2002 7:52 pm
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:52 pm
Re: Way to hide menu till loaded?
Hi,
I checked out your site in Netscape 4.72 and the menus don't load.
Just thought you should know.
Sean Duffy
I checked out your site in Netscape 4.72 and the menus don't load.
Just thought you should know.
Sean Duffy
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Way to hide menu till loaded?
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..
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..
- yadin
- Super Advanced
- Posts: 69
- Joined: Sun May 19, 2002 8:23 pm
- Location: State College, PA, USA
- Contact:
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
Cheers!
Yadin