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:59
Positioning the menu correctly when changing resolution
Poster: jwm1205
Dated: Monday November 3 2003 - 19:20:09 GMT
This is my dilemma; my menu is correctly positioned when my resolution is 800x600. However, when I switch the resolution to 1024x768, my web page is centered on the page and my menu is on the left side of the screen according to the coordinates I specified within the menu_data.js file.
Is there a way to incorporate the following line within my page in order to have it change when my resolution changes?
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
Do I need to use the following coordinates:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=135;
left=2;
Or, is there a way to include the script from above within the line of code where I would like for it to be positioned.
Thanks for any assistance you can provide.
Jason
Poster: Hergio
Dated: Tuesday November 4 2003 - 4:35:28 GMT
There are properties of the menu that allow it to float on your webpage so that when you resize the screen/browser it will also move with them. See the milonic homepage and look at the quick reference guides, its ALL there. Also see here http://www.milonic.com/forum/viewtopic.php?t=2981
Best of luck!