Go Back   Ultimate Web Site Drop Down Menu Forum > UDM4 > Troubleshooting
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Unread 08-25-2007, 11:12 PM
jrdub jrdub is offline
Junior Member
Join Date: Aug 2007
Posts: 2
  #1  
Default Unable to fill out width of container

I have installed udm4 as a vertically aligned, relatively positioned menu (as seen here: http://healthabounds2.com.lamphost.net). I would like the top level list items to fill out all 180px of the container element and not leave room for the flyout, instead having the child list elements display either beneath or overlap the content on the right. Is this possible? Right now the menu occupies about half the width of the container.
Reply With Quote
Unread 08-27-2007, 02:21 PM
bcarl314 bcarl314 is offline
Senior Member
Join Date: Aug 2007
Posts: 141
  #2  
Default

I believe you'll need to edit your udm-custom.js file as follows:

find these lines:
Code:
um.navbar = [
	"-6",		// nav -> menu x-offset (+-)["n" pixels]
	"-11",		// nav -> menu y-offset (+-)["n" pixels]
	"7.5em",	// width ["em"|"ex"|"px"] (vertical navbar only - horizontal navbar items have "auto" width) ("%" doesn't work right)
	];
and change the 7.5em to the width you desire. (i.e. 180px)

Example:
Code:
um.navbar = [
	"0",		// nav -> menu x-offset (+-)["n" pixels]
	"0",		// nav -> menu y-offset (+-)["n" pixels]
	"180px",	// width ["em"|"ex"|"px"] (vertical navbar only - horizontal navbar items have "auto" width) ("%" doesn't work right)
	];
Reply With Quote
Unread 08-28-2007, 10:54 PM
jrdub jrdub is offline
Junior Member
Join Date: Aug 2007
Posts: 2
  #3  
Default Thanks

That did the trick!

Thanks so much!

John
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:40 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.