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:06
Re: Horiz menu - need submenu to appear 5px below bottom
Poster: Ruth
Dated: Thursday May 13 2010 - 1:00:13 BST
Hi,
Yes, you can do it using the top='offset=x'; in each submenu of the horizontal menu, where x is the number of pixels you need the submenus to move down.
Ruth
Horiz menu - need submenu to appear 5px below bottom
Poster: redtopia
Dated: Wednesday May 12 2010 - 20:17:45 BST
I have a site with a horizontal menu that is coded as: (more or less)
<div id="container">
<div id="header">
<div id="logo">logo image</div>
<div id="main-menu">(menu script)</div>
</div>
<div id="header-bar"></div>
<div id="content">content goes here</div>
</div>
Below the menu, there's a div that stretches across the whole page, which creates a line below the entire header, including the menu. I want the first set of submenus to appear just below this line. Is there a way to specify that the first level of submenus (below the horizontal main menu bar) is to appear a certain number of pixels below the main menu bar?
Thanks!
-JP
Re: Horiz menu - need submenu to appear 5px below bottom
Poster: redtopia
Dated: Thursday May 13 2010 - 14:17:41 BST
Is there a way to do it relative to the main menu? When I specify top='offset=5'; it makes my submenus show up 5 px from the top of the entire site, not 5 px from the top of the menu bar.
Re: Horiz menu - need submenu to appear 5px below bottom
Poster: Ruth
Dated: Friday May 14 2010 - 0:37:05 BST
Hi,
Can you give me a link please so I can see what's up?
Ruth
Re: Horiz menu - need submenu to appear 5px below bottom
Poster: redtopia
Dated: Friday May 14 2010 - 0:51:28 BST
http://beta.dwjh.org
I got it working with the top='offset=x'; parameter, but I wish there were a way to do it relative to the main menu.
Re: Horiz menu - need submenu to appear 5px below bottom
Poster: Ruth
Dated: Friday May 14 2010 - 2:57:06 BST
Hi,
You can't use top= when you are trying to do a sub menu offset from a horizontal parent menu. Try using
Code:
top='offset=3px';
instead of top=81
Ruth