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)
-   -   Positioning Menu (http://www.udm4.com/forum/showthread.php?t=646)

09-25-2007 04:21 PM

Positioning Menu
 
Probably a silly question, but....

I have created a table which controls positioning of screen elements. I have placed my udm menu code into the appropriate cell. The udm menu appears in the top left of the screen overlaying the table elements.

How can I position the menu using the table?

Any help gratefully received.

bcarl314 09-25-2007 05:03 PM

Sounds like you may be positioning the menu absolutely instead of relatively.

Open up your udm-custom.js file and look for this section:

Code:

//navbar orientation

um.orientation = [
        "vertical",        // alignment ["vertical"|"horizontal"|"popup"|"expanding"]
        "left",                // h align ["left"|"right"]
        "top",                // v align ["top"|"bottom"]
        "absolute",        // positioning ["relative"|"absolute"|"fixed"|"allfixed"]
        "0.5em",        // x position ["em"|"ex"|"px"|"0"]
        "0.5em",        // y position ["em"|"ex"|"px"|"0"]
        "1000",                // z order ["0" to "10000"] (menu takes 20000 headroom)
        ];

Change the "absolute" to "relative"

You may also want to check out these demos:

http://www.udm4.com/demos/vertical-r...left-table.php

and

http://www.udm4.com/demos/horizontal...left-table.php

09-25-2007 07:27 PM

Thank you!

I did see this setting but wrongly assumed that the 'Nav Bar Orientation' only controlled the Nav Bar and not the menu.

Thanks Again.


All times are GMT. The time now is 12:05 AM.

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