Wrapping Horizontal Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
gvancott
Beginner
Beginner
Posts: 2
Joined: Fri Oct 15, 2004 9:58 pm
Location: Las Vegas, NV USA
Contact:

Wrapping Horizontal Menu

Post by gvancott »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Not programatically. Sorry. However, you could build a 2-liner to begin with.
John
gvancott
Beginner
Beginner
Posts: 2
Joined: Fri Oct 15, 2004 9:58 pm
Location: Las Vegas, NV USA
Contact:

Post by gvancott »

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

Post by Ruth »

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
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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