Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:49
aligning submenus to top
Poster: alex1709
Dated: Friday April 1 2005 - 0:21:17 BST
hello,
can anyone point me in a right direction, on how I could align all submenus to the same level as the mainmenu?
Sample of what I want to accomplish:
Thanks in advance!
Poster: Ruth
Dated: Friday April 1 2005 - 4:16:26 BST
Are you saying you want the submenus to be immediately below the main menu? I'm not real good with diagrams, nor hand eye coordinations
Ruth
Poster: alex1709
Dated: Friday April 1 2005 - 14:44:38 BST
What I have is this.
My main menu is horizontal. When you put the mouse over the selections, it opens up vertical submenus. The vertical submenus have their own submenus. What I need is the 1st and 2nd level submenus to be aligned equally to the top. Normally, the top part of the second level submenu is aligned to the same level as the selection that opens up the submenu
Poster: Ruth
Dated: Friday April 1 2005 - 15:20:10 BST
Well, I think you could probably use the offset= parameter to do that, but you'd have to set it for each submenu based on the height of the submenu off which it opened, and what happens if someone has really big text set? I think that would changed the height of the item. However, try this. Figure out the height of the submenu off which the next level opens, let's say it's 100px, in the second level submenu put top="offset=-100px"; that should open it 100px up from where it would normally open. There may be better solutions.
There is this pageabout methods and functions which might help if you know how to do any of that. I know it has things about getting and setting positions.
Ruth
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
