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:22
free positioning for list based menu?
Poster: denyo256
Dated: Friday February 22 2008 - 16:07:51 GMT
hi __at__ all,
i actually looking for a menu like the milonic one to integrate into a new web project. i tried to get it working with the list based version because of the search engines, but i can't position it where i want it to have.
as the documentation says nothing about relative positioning, i want to know if it is possible at all. absolute positioning is not an option for me, because the site is horizontal centered and i don't want the menu to be somewhere on the screen but not within my design.
i already tried to put the code that calls the menu into a positioned container, but it still appears on the left border of the screen.
i hope you can help me, the menu would fit perfectly into the site.
denyo
Re: free positioning for list based menu?
Poster: Ruth
Dated: Friday February 22 2008 - 17:49:19 GMT
Hi,
You would use the relative positioning code in the buildListMenu area in place of the top= and left= options
Code:
buildListMenu("milonicmenu1","menuStyle","alwaysvisible=true;orientation='vertical';position='relative';")
Without the page, I'm just giving off the top suggestions, but you'd put the call for the milonic_src, mmenudom files first thing after the body tag, then you'd put the stuff with the style and such in the table cell and the listmenu.js file, I'm not sure, I think up with the milonic files, if that causes problems try putting it after the buildListMenu stuff. If you have a page I can play and let you know
Ruth
Re: free positioning for list based menu?
Poster: denyo256
Dated: Monday February 25 2008 - 7:32:24 GMT
Thanks, it was all about the correct position of the calls. Now I put the "buildListMenu()" within my div-container and it worked fine. Before I only had the call for the source files, it should have been clear for me that this won't do
Re: free positioning for list based menu?
Poster: denyo256
Dated: Sunday March 2 2008 - 10:52:48 GMT
Now I'm having the next issue. The Internet Explorer does not display the menu.
Here is the link for the website: http://demo.dermedienwuerfel.de/wowphil ... rsicht.php
I hope, you can help me again!
Denyo
Re: free positioning for list based menu?
Poster: Ruth
Dated: Monday March 3 2008 - 7:30:07 GMT
Hi,
Try changing the div id=milonic to say milonicmenu and see if that works. Make sure you also change the buildList area to milonicmenu
Ruth
Re: free positioning for list based menu?
Poster: denyo256
Dated: Monday March 3 2008 - 8:16:21 GMT
Thanks, it worked!