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: Thursday February 8 2018 - 06:02:36

Menu Load from within a table


Poster: Cool_Capybara
Dated: Thursday November 7 2002 - 19:33:23 GMT

I currently run a menu within a table.

The problem is when my page loads, the menu bar loads first. Since the page takes a second or two load, all you see is the menu bar (in the upper left corner as opposed to the middle where it is placed). Once the page loads, the menu is in the right place and everything is fine.

I notice that the sample menus don't have this issue. I've tried placing the script load code in various places. I think the recommendation is in <HEAD>, but I've put it right where it is to execute and also in the beginning of <BODY>, but I get the same thing.

Any suggestions?

Thanks!


Poster: trytrix
Dated: Thursday November 7 2002 - 20:57:37 GMT

Hi,

A URL is always most helpful so we can see exactly what is going on (and also look at your array file).

Cheers,
Trytrix

(Hit me at http://www.ransbecca.be )


Poster: trytrix
Dated: Friday November 8 2002 - 22:44:08 GMT

Hi,

Found this browing around in the forum items :
When loading the menu in a table cell the menu is loaded at the default
position defined 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.

Maybe this will answer your question ?

Cheers,
Trytrix

(Hit me at http://www.ransbecca.be )


Poster: Cool_Capybara
Dated: Friday November 8 2002 - 23:19:36 GMT

That did the trick! Thank you very much for your help!