Forum Moderators: not2easy
In IE7, I found that dropdown menus powered by this method were not closing with the onmouseout event.
After a process of elimination, it turns out that having TITLE attributes on the A tags is what causes the problem. So remove TITLE tags, and you'll be fine.
Suzy: I did wonder about that. I was thinking that IE7 should allow the :hover pseudo-class to be applied to LI elements so it wouldn't need the javascript. But when I removed the javascript from IE7, the dropdowns didn't work at all. But that doesn't seem right - maybe some stupid mistake on my part, I'll take another look.
*:first-child+html #nav {height: 1%;}
*:first-child+html #nav li {height: 1%;}
Seems to work fine and I haven't noticed any stickiness onmouseout.
On a side note, does anyone know which browsers require the javascript portion and which handle it with just css?
I only have access to a PC, so I know Opera, Firefox and IE7 (with that fix) handle it. What about Safari and other Mac browsers?