Hi,
I’ve been playing the the dropdown menu from CSSPlay. Eveything display fine in various browsers including IE 7 and 6, however in IE 5.5 or IE 5.01 sub-menu don’t show up. Does anyone know why?
Also, I’m adding gif for the main menu header. It shows up fine in IE 7 but not in earlier version of IE 6 or 5.5. The gif aren’t displayed. Any help is appreciated as I’d like to write a menu that being supported by various browsers in CSS.
I’ve updated the chunk code "cssplay_parentRow" to add a span parameter since the menu header is comprised of 2 gifs as follow:
.menu ul li:hover a {color:#000066;
background:url(../images/menu_hover_left.gif) no-repeat left top; margin:0; padding:0 0 0 9px;text-decoration:none; float:left;
}
.menu ul li:hover a span{ float:left; display:block; z-index:200; background:url(../images/menu_hover_right.gif) no-repeat right top; padding: 0px 12px 0px 3px;
}
Thank you.
Eric
Thanks. I got it working in IE6 but in IE 5.x the submenu don’t show up, only the main menu; I’ve made some changes to the script. See below.
The problem seems to be coming from the following CSS:
/* Display rounded box on the main menu hover */
.menu ul li a:hover {float:left; background: url(../images/menu_hover_left.gif) no-repeat left top;
margin:0; padding:0 0 0 9px; text-decoration:none;
}
. menu ul li a:hover span{ float:left; display:block; background:url(../images/menu_hover_right.gif) no-repeat right top;
padding: 0 12px 0 3px; text-decoration:none;}
When I remove the 2 statement above, the sub-menu shows up but only for the 1 level down. Note that sub-menu show up in IE6. Any idea of what I might be doing wrong?
Thanks again.
Eric.
IE 5.x does not support :hover on elements other than links <a>, rendering the entire :hover useless. Does any think by using a .htc file and defining my own behavior would fix it?
Thanks.
-
☆ A M B ☆
- 24,524 Posts
There is a hover behavior .htc file in assets/js that you can use in an IE conditional block in your template head.
i have only one reasonable question: who uses ie5.5 or even 5.01 in 2008???
it’s not even 1 % of all browsers used nowadays
-
☆ A M B ☆
- 24,524 Posts
True, but you’d be surprised (or maybe not...) how many job specs require it.