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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:41

absolute and relative position


Poster: tognaco
Dated: Sunday February 18 2007 - 10:19:04 GMT

I want to place the menu inside a table cell but I don't know how to do it. I have discovered the way to set the position of the menu:

with(milonic=new menuname("Sample mainmenu")){
alwaysvisible=1;
left=100;
margin=2;
orientation="horizontal";
style=horizStyle;
top=100;

that's to say: changing the left and the top in the main menu. But that position depends on the user's resolution. For example, I have a wide screen with 1280 X 768 and obviously setting the position the way explained above, it won't work in other resolutions. Can anyone help to solve this problem?

Thanks in advance


Poster: Ruth
Dated: Monday February 19 2007 - 0:38:55 GMT

Hi,

If you want the menu in a table cell so it is relative and always moves with the page resolution change there is a link below my name for tablemenus which tells how to do it. If you have problems after reading the information, please put up a test page with your menu and all the info on where you want it and we can take a look.

Ruth

Ruth you ROCK


Poster: jules
Dated: Thursday February 22 2007 - 1:53:16 GMT

Hi Ruth
This was exactly the information I was looking for, and it worked like a charm! Thank you so much for contributing to this forum!
Jules