relative positioning

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
myalo
Advanced
Advanced
Posts: 23
Joined: Mon Aug 28, 2006 6:54 pm
Contact:

relative positioning

Post by myalo »

Can a menu be set to show relative to an existing element on the page?
For example if I have a <div id="showhere">content</div> can I specify for a menu to show offest of the div?
Thanks
Moshe
Moshe Yalovsky
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You can position the menu relatively. Information on doing that, i.e. placing it in a table or div, is here, this post contains 3 links with information on this.

viewtopic.php?t=8777

If you can provide a page so we have the layout and your menu and tell us where you want the menu, it would be easier to help.

Ruth
myalo
Advanced
Advanced
Posts: 23
Joined: Mon Aug 28, 2006 6:54 pm
Contact:

Post by myalo »

Hi Ruth
Thanks for the answer.
I have used menu in table before and was not sure about inside div. I tired it and it works.
My question was refering to defining a menu outside the element like the ones that are offset of the main page and set them relative to an element. I guess this is not possible. Putting the <script> in the <div> will work OK for me.
Thanks
Moshe
Moshe Yalovsky
Post Reply