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:47
Submenu Items Not Appearing Since IE7 Upgrade
Poster: patwoods
Dated: Tuesday December 5 2006 - 2:31:04 GMT
Can't seem to get submenu items to show in IE7. Worked great til I upgraded my browser... now only the first item in the submenu displays.
Link is at http://www.softcrabs.net
The 'products' link is the only submenu... this is a really simple site and I cannot figure out why it isn't rendering the product list - there should be about 9 or so items beneath products, but only the first one appears. Please help! This is simple but I cannot see it and need to get this site up and live ASAP. Thanks!
Poster: John
Dated: Tuesday December 5 2006 - 13:47:53 GMT
Your menu is not set up properly for use in a td. Please see http://milonic.com/tablemenu.php for instructions.
Poster: patwoods
Dated: Tuesday December 5 2006 - 15:13:32 GMT
Guess I am dense here... can't see where I am going wrong. I put the scripts in the <head> tags. Forgive me for being an idiot. It works everywhere but IE7. Can you give me more info?
Poster: John
Dated: Tuesday December 5 2006 - 16:46:01 GMT
Not to worry, Pat. You should have seen me when I first started with the menu - what a mess!
However, don't know if I'm going to be able to spell it out any better than the page I referred you to. Basically, I'd move your calls to the first item after the body (not in the head). Also, you can 'clean up' the calls like this now...
Code:
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="menu_data.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="menu_data.js"></script>
In the td where you want the menu put only the code for your main menu. Don't forget to include the drawMenus; statement there.
In your _data file put all the rest of the code (styles, other menus, subs, etc.). This will also have a drawMenus; at the end.
Andy gives a lot more detail on that page. This is just the down and dirty.
HTH.
Poster: John
Dated: Tuesday December 5 2006 - 21:53:58 GMT
Pat, I've put your site up on one of my servers at http://www.west.asu.edu/sa/testsite/index.htm.
The problem is in the css, specifically onclass="submenumouseon"; and offclass="submenumouseoff";. Not being a css person I can't figure the exact problem (Ruth is pretty good at this). With both of these items commented out of your subMenuStyle the full submenu shows, but, obviously, not as you want it.
I have also rewritten the index page to conform to what we're looking for with a menu in a td.
Poster: patwoods
Dated: Wednesday December 6 2006 - 1:38:26 GMT
Thanks! Got it. Seems like the overfilter and outfilters really screwed with IE7 and might be part of the problem. Commenting them out fixed it pretty much. Probably something to do with the whole CSS and DIV style I chose for the site.
Thanks again! Lifesaver!
Poster: Ruth
Dated: Wednesday December 6 2006 - 5:17:01 GMT
Hi,
The only thing I noticed in the css for the mouse classes was quotes around the font-family Georgia, which is only a single word. I have no idea if that would cause any problems since css shows that only multiple word font names get quotes.
Ruth