Positiong the Unlimited Levels Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
c00ps
Beginner
Beginner
Posts: 1
Joined: Thu Dec 28, 2006 1:23 am

Positiong the Unlimited Levels Menu

Post by c00ps »

I placed the following within my page, but I don't know how to position it. Am I able to place the menu within a <div>, or a table rather than have it be absolute?

<div id="feature">

<!--Begin Menu-->
<script type="text/javascript" src="menu/milonic_src.js"></script>
<script type="text/javascript" src="menu/mmenudom.js"></script>
<script type="text/javascript" src="menu/menu_data.js"></script>
<!--End Menu-->

</div>
<!--End Feature-->
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. Below my name is a link to the info on table menus. The same info applies to placing the menu in a div.

There is another method that can be used. I do not know if it works in older browsers. In the menu_data.js file up at the top where the subOffsetLeft= and so on put the following buildAfterLoad=true;

In both methods you remove the top= and left= from the main menu and add position="relative"; instead. Please read the info on the table menu placement to make sure you understand how it is done.

Ruth
Post Reply