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:34
relative positioning
Poster: myalo
Dated: Thursday May 31 2007 - 0:21:48 BST
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
Poster: Ruth
Dated: Thursday May 31 2007 - 4:30:49 BST
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.
http://www.milonic.com/forum/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
Poster: myalo
Dated: Thursday May 31 2007 - 19:16:50 BST
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