I am developing a new web application and looking for a javascript menu. I downloaded the Milonic evaluation version. The question I have is -
Is it possible to set the width of the menu with the page width? For ex - If the page width is set as 75% of the IE window. Is it possible to set the menu for the same width? Irrespective of the screen resolution of the user? I ask because in other menus I have seen with different screen resolutions, the width of the javascript menu varies and expands beyond the width of the JSP page.
Thanks for your time in advance. I am running on tight schedule, quicker responses will be highly appreciated.
-newMilonicUser
Positioning of menu Vs Page width
-
- Beginner
- Posts: 2
- Joined: Fri Feb 22, 2008 5:46 pm
Re: Positioning of menu Vs Page width
Hi,
I think what you'd want to do is set the menuwidth to 100%. This is a guess since I'm not sure what you mean by the page being 75% of the IE Window. I would think the page would be the width of the IE window. Anyway, if the menu is on the page then setting it to 100% should make the menu the width of the page. I can only suggest that you try this on different resolutions to see if it works as you want. Remember that the menuwidth makes the menu, not the items, the width that you set, then you have properties such as menualign which aligns the items within the menu: left, right or center. Itemwidth controls the width of the items.
Ruth
I think what you'd want to do is set the menuwidth to 100%. This is a guess since I'm not sure what you mean by the page being 75% of the IE Window. I would think the page would be the width of the IE window. Anyway, if the menu is on the page then setting it to 100% should make the menu the width of the page. I can only suggest that you try this on different resolutions to see if it works as you want. Remember that the menuwidth makes the menu, not the items, the width that you set, then you have properties such as menualign which aligns the items within the menu: left, right or center. Itemwidth controls the width of the items.
Ruth