Jettrue,
Subject: spontaneously expanded or automatically expanded sub-menus
Thanks for you support. I figured out what was causing the sub-menu auto-expand behavior (at least on my site). I wanted to post my fix to help others who might encounter this problem in the future. The problem was origionally described in post #52 and several others (like post #506) had this problem. If someone has posted a fix then I must have missed it. The problem crops up when the stylesheet_header_menu.css file is modified.
NOTE: The problem does not occur with an unmodified CSS Drop Menu.
RESOLUTION: In the stylesheet_header_menu.css do NOT add a "width: XXem;" value to the "div#dropMenu ul ul {}" line.
To fix the problem remove the "width:" statement from the "div#dropMenu ul ul" line. For those using Paul's Menu please take note; in Paul's Menu this width value IS specified to prevent the image on the very top row from extending onto neighboring cells.
What is happening is that the IE7 browser will remember this value after the first sub-menu mouse-over. And when you mouse-over the top menu a second time, the sub-menu cell width is then used/displayed. So what you see is expanded sub-menus void of menu text. If you encounter this problem, please check where you are specifying your "width:" statements.
I hope this may help others.
David


Reply With Quote
