Quote:
Originally Posted by Pennimus
1) The blue highlight in the bar when you hover over a menu disappears when you move your mouse down to a sub menu item. Is there any way to make the blue highlight stick around while hovering over any item in the menu?
|
In that case the interesting selector is the one that selects the first-level
li:hover elements and not the first-level
a:hover elements which is what you have now.
The reason why the latter selector does not work is because, by construction of the menu, the second level
ul elements are not nested within the first-level anchor elements. However, they
are nested within the first-level
li elements.
Quote:
Originally Posted by Pennimus
2) As well, in IE, the drop down disappears as soon as you try and move your mouse down on to it.
|
I see the weirdness going on in both IE6 and IE7. But I don't know the explanation. What is happening is that the
onmouseout event is fired even when it should not. Interestingly, the issue does not occur when the document type declaration is removed.
It seems as if the problem can be solved by applying a background color to the second level
ul elements. Perhaps you can use this as a temporary fix. In the meantime, perhaps someone here can provide an explanation of the bug.