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 12-13-2007, 10:32 AM
milkmandan milkmandan is offline
Junior Member
Join Date: Dec 2007
Posts: 4
  #1  
Default Issue with expanding multiple nested levels menu

SO here is my problem....

I am using the Expanding Menu, with Multiple nested levels.
http://www.udm4.com/demos/expanding-multiple.php

its working fine. perfectly fine, but i have one issue.

Anything I place underneath the menu, does not get moved downwards with the rest of the menu. Anything i place after the last <ul> tag gets put underneath the menu.

Almost as if the menu is on top, floating in some way.

What can I do, to make it, so that content I put after the menu will correctly move/scale with the menu as people open an item?

An example: I have a picture at the end of the menu. I want it to move down as the menu expands.


I found a bad fix, by placing HTML right before the last <ul>

Content shows up and scales with the menu. But if try to link anything, it takes on properties of the UDM menu.
So its not really working out yet, because i need to create normal links.

Last edited by milkmandan : 12-13-2007 at 10:35 AM.
Reply With Quote
Unread 12-14-2007, 03:17 AM
vinyl-junkie vinyl-junkie is offline
Moderator
Join Date: Aug 2007
Posts: 114
  #2  
Default

Post a link to your site so we can have a look at it.
__________________
Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
SNAP to it!
Reply With Quote
Unread 12-14-2007, 04:57 PM
milkmandan milkmandan is offline
Junior Member
Join Date: Dec 2007
Posts: 4
  #3  
Default

I seem to be answering all my own questions...

I found the solution to my problem.
---
With the expanding nested menu, the config file (*.ini for php, *.js for html) has a css position attribute in there. It is set to 'absolute' by default. I just had to make it 'relative', and everything worked like a charm.

Code:
//navbar orientation
$um['orientation'] = array(
	'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 parameter above to relative, and it works~
I was stupid not to think of this earlier.
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 04:59 AM.


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