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

menu is very slow in responding


Poster: wetclay
Dated: Thursday January 13 2005 - 22:00:45 GMT

i placed the menu in a cell, but now it is very slow in responding. any ideas??

also there is an extra line in that cell for some reason. could someone tell me what to remove, I couldn't find what to remove in FP.

thanks

here's the link:http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/index.htm

Re: menu is very slow in responding


Poster: kevin3442
Dated: Friday January 14 2005 - 0:59:14 GMT

wetclay wrote:
i placed the menu in a cell, but now it is very slow in responding. any ideas??

I don't really notice a slow response. The menu on your test page seems normally responsive to me; menus open up immediately. Don't know why it would be slow on your end. (What browser/os are you using?) Some possible issues may be that the table containing your main menu is nested inside of other tables (more than two levels of nesting as far as I could tell with a quick glance at your code). Placing the menu in nested tables may or may not be an issue, I don't know for sure. Also, the table containing the menu is inside of a div, which appears to be nested inside of another div. I do know that placing the menu(s) in divs can cause problems.

What's probably even more of an issue is that you're loading the base menu source files (milonic_src.js, mmenudom.js, mmenuns4.js), as well as your menu_data.js file, inside of a table cell that's also in nested tables, that are also inside of a div. That's going to cause problems, especially for some browsers (some older ones will choke for sure). Those files should not be loaded in divs or tables. Load the source .js file outside of any other container (e.g., load them right after the <body> tag). Refer to this example and to this one for discussions on embedding a menu in a table cell.

Quote:
...also there is an extra line in that cell for some reason. could someone tell me what to remove, I couldn't find what to remove in FP.

That's an easier one! The <td> where you've embedded the script for your Main Menu has a non-breaking space in it, just before the menu code (the &nbsp; code on line 124, between the <td> and <script> tags). Getting rid of that &nbsp; should get rid of the extra white space above the menu.

Hope that helps,

Kevin


Poster: wetclay
Dated: Friday January 14 2005 - 9:29:50 GMT

hey kevin,

wow, thanks for all your suggestions. I'm really horrible at html and actually had to look up what a DIV command does. :(

I've removed the div on the menu page and it seems to be working faster on my end. I'm using MSIE ver 6.0xxxxx

I also got rid of the extra line too. thanks again.

there is still the issue of this goofy break in the seperator bars between the main menu items. here is a screen shot of what i'm talking about if you can't see it.
Image

this occurs in both firefox and MSIE 6.0xxxx


Poster: John
Dated: Friday January 14 2005 - 23:22:51 GMT

I can see the problem in Firefox on Mac, but not in Safari.

Try removing menuheight=17; from the main menu. You might also want to specify your font as px rather than pt - much more cross-browser friendly.


Poster: wetclay
Dated: Saturday January 15 2005 - 2:17:43 GMT

nope, those suggestions didn't fix it. any other ideas??