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:22
strange menu loading behavior
Poster: dikonstrukt
Dated: Sunday October 6 2002 - 5:37:02 BST
hi all,
first this is a great menu. thanks to milonic!
now onto my issue.
take a look at my site: http://www.modulations.org
you will see that the menu very quickly loads to the very left before settling down within the table in the center of the page.
i was wondering how that might be avoided (i.e., just load it where it's supposed to be, even if it takes longer)?
thanks for any help!
Poster: Andy
Dated: Sunday October 6 2002 - 16:26:59 BST
This, as you have probably assumed is because of the PlaceMenu() function.
The reason it waits is because Tables need to generated fully before they are rendered to the screen and it's at this point only that the menu system knows where the menu should go.
What I suggest is try setting a Top and a Left value for the menu as close as you can get to where the menu will be placed.
Better sill try and get your menu positioned properly without the use of PlaceMenu() with a combination of Screen Position and offsets.
-- Andy