Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:43

menu appears on home page but not subsequent pages

Poster: beachdog
Dated: Saturday May 28 2005 - 19:32:28 BST

The menu appears on my testing home page:

But not on subsequent pages. Any idea why?

Poster: Ruth
Dated: Saturday May 28 2005 - 23:45:57 BST

I'd check the paths to the menu files. Sorry I can't be more specific but I have this absolute blank when talking about relative paths. Maybe you just need to get rid of the two dots? I just always use full paths.

Also, you are putting the menu in a table cell using an embedded_main_menu.js file, however you have ALL the menu files in that. You should take the submenus out of that, put them back in the menu_data.js file and put a drawMenus(); at the bottom of it, leaving a draw menus with the main menu also.

When putting a menu in a table, the submenus must be 'read', be already drawn before the main menu renders. That is the reason for having the menu_data without the main menu right after the body tag and the main menu later on the page.



working...if it ain't broke...?

Poster: beachdog
Dated: Sunday May 29 2005 - 2:08:19 BST

Thanks, Ruth. The absolute paths fixed the problem and I have menus on all the site pages. Yay!

Since everything is working, should I still move the submenus out of the embedded_main_menu.js file and put them in the menu_data.js file?

Load time seems heavy; would this move speed things up?


Poster: Ruth
Dated: Sunday May 29 2005 - 9:38:07 BST

You're welcome.

Yes, you should move the submenus out of the embedded main menu file and back to the menu_data.js file. Don't forget the drawMenus(); in that data file when you do it.

The reason for this is, although it works for you, some browsers, in particular IE on Mac have a hissy fit when you don't do it. The submenu opening position ends up across the page or down the page etc. I've read help posts where other browsers also had that problem, though the IE 5 mac is the most often mentioned.

I know that browser is not supported by MS anymore, however that doesn't mean the people who have it and love it are going to change any time soon :) THere are still some out there who are using Netscape 4.7

I don't know about the load time. I don't think it's the menu, you don't have much size in your data files, those two only have 12 kb. It might be the images you have?