free positioning for list based menu?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
denyo256
Beginner
Beginner
Posts: 8
Joined: Fri Feb 22, 2008 4:04 pm

free positioning for list based menu?

Post by denyo256 »

hi @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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: free positioning for list based menu?

Post by Ruth »

Hi,

You would use the relative positioning code in the buildListMenu area in place of the top= and left= options

Code: Select all

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
denyo256
Beginner
Beginner
Posts: 8
Joined: Fri Feb 22, 2008 4:04 pm

Re: free positioning for list based menu?

Post by denyo256 »

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 :D
denyo256
Beginner
Beginner
Posts: 8
Joined: Fri Feb 22, 2008 4:04 pm

Re: free positioning for list based menu?

Post by denyo256 »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: free positioning for list based menu?

Post by Ruth »

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
denyo256
Beginner
Beginner
Posts: 8
Joined: Fri Feb 22, 2008 4:04 pm

Re: free positioning for list based menu?

Post by denyo256 »

Thanks, it worked!
Post Reply