Submenu fixed to the last main menu item

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
gnarf32
Beginner
Beginner
Posts: 4
Joined: Mon Sep 26, 2005 1:24 pm

Submenu fixed to the last main menu item

Post by gnarf32 »

Hi everyone

Maybe you can help me with my this "alignment"-problem I have:

I've created a menu which has a simillar structure like this one:
http://milonic.com/menusample71.php

The only thing that I don't quite get, is how to align the submenus so that they fit my needs. The submenu for each menu item should be aligned to the outer right menu item, regardless which menu item is the parent item. So all the submenu should be right below the last menu item.

Also, all the submenus should open to the left. so that the first (or last, I really don't care;)) submenu item is aligned to the last menu item and "move" to the left.

Does that make any sense? I hope so.
Hope you guys have run accross something like that before and can help me. Thank you very much

Kind Regards
Pad

P.S. I don't have a testing URL as of now.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The only way to do that is to use offsets in the submenus. If your menu is made of images that should work fine, but if it's text you can have problems depending on the users text settings in their browser.

The other way to do it is to set up the main menu as a pop menu, you can then use an image to make all the pop up submenus open at that particular image.

If you can provide us a test page I can try experimenting.

Please note that if you are opening the menus way away from the parent item the people may not be able to reach them before they close.

Ruth
Post Reply