Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   Troubleshooting (http://www.udm4.com/forum/forumdisplay.php?f=12)
-   -   Unable to fill out width of container (http://www.udm4.com/forum/showthread.php?t=469)

jrdub 08-25-2007 11:12 PM

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.

bcarl314 08-27-2007 02:21 PM

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)
        ];


jrdub 08-28-2007 10:54 PM

Thanks
 
That did the trick!

Thanks so much!

John


All times are GMT. The time now is 02:16 PM.

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