Problems with Milonic inside div

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Clark
Beginner
Beginner
Posts: 5
Joined: Fri Feb 17, 2006 1:27 pm

Problems with Milonic inside div

Post by Clark »

Hey,

I have some major problems placing the milonic menu inside a div, http://edison.eliteweb.dk <-- working fine, when i load the menu two times... but if i only load the menu in the "centerMenuFrame" the submenu's disaperes!

I am going crazy... i hope there's someone out there who can help :-)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Clark,

Cut the main menu from the menu_data.asp file and put it in it's own file and add a drawMenus(); at the end [both the menu_data and main data files will have a drawmenus]. Name the one with the main as main_data.asp. Then put the calls for the program files and the menu_data.asp file the first thing after the body tag, then in the div where you want the menu, put the call for the main_data.asp file.

I tried using buildAfterLoad=true and putting all the files in the div but that didn't fix it. Maybe it has something to do with the asp, but the orginal method for putting the menu in a table/div/span works.

Ruth
Clark
Beginner
Beginner
Posts: 5
Joined: Fri Feb 17, 2006 1:27 pm

Post by Clark »

If i add buildAfterLoad=true i get the following err:

_mp.3 is null or not an object...

Wow i'll get a hard time to recode the ASP to just print the main menu itself..
Clark
Beginner
Beginner
Posts: 5
Joined: Fri Feb 17, 2006 1:27 pm

Post by Clark »

Could you give me an example on how the file with only main menus and a file with submenus would look like?
Post Reply