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: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! :D


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


Poster: dikonstrukt
Dated: Monday October 7 2002 - 8:56:30 BST

Thanks, Andy! I forgot I had fixed the width after centering the page (I had thought of using percentages instead) so that works great!

Thanks for a great script!

Sean