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:07
Wrapping Horizontal Menu
Poster: gvancott
Dated: Friday October 15 2004 - 22:03:38 BST
Is there a way to make the hoizontal menu wrap to the next line if it is too long to fit in the users browser window?
Thanks,
Gary
Poster: John
Dated: Friday October 15 2004 - 22:25:44 BST
Not programatically. Sorry. However, you could build a 2-liner to begin with.
Poster: gvancott
Dated: Sunday October 17 2004 - 2:47:45 BST
I was thinking about the possibility of having a two line menu where the second line could be positioned based on the width of the window. Possible?
Where are instructions on creating two line menus?
Thanks,
Gary
Poster: Ruth
Dated: Monday October 18 2004 - 6:30:51 BST
There are no specific instructions for making a two line menu. What you actually do is create two menus in your menu_data file and make both of them visible and position them where you want them.
So, if the top one was at top=50; and it was say 20px in height, then the bottom one would be top=70; You need to kind of play with it to get what you want.
Ruth
Poster: kevin3442
Dated: Monday October 18 2004 - 16:40:20 BST
Hi Gary,
gvancott wrote:
I was thinking about the possibility of having a two line menu where the second line could be positioned based on the width of the window. Possible?
It should be possible. In your menu_data.js file, you'd make a js function that would check the width of the browser window, then set the second menu's position accordingly.
Cheers,
Kevin