Submenu Items Not Appearing Since IE7 Upgrade

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
patwoods
Advanced
Advanced
Posts: 11
Joined: Wed Dec 17, 2003 6:44 pm

Submenu Items Not Appearing Since IE7 Upgrade

Post by patwoods »

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!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Your menu is not set up properly for use in a td. Please see http://milonic.com/tablemenu.php for instructions.
John
patwoods
Advanced
Advanced
Posts: 11
Joined: Wed Dec 17, 2003 6:44 pm

Post by patwoods »

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?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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: Select all

<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="https://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. :)
John
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
patwoods
Advanced
Advanced
Posts: 11
Joined: Wed Dec 17, 2003 6:44 pm

Post by patwoods »

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!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply