absolute and relative position

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tognaco
Beginner
Beginner
Posts: 1
Joined: Sun Feb 18, 2007 11:10 am

absolute and relative position

Post by tognaco »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
jules
Beginner
Beginner
Posts: 1
Joined: Thu Feb 22, 2007 1:19 am

Ruth you ROCK

Post by jules »

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
Post Reply