VIPStephan
07-14-2006, 11:10 PM
Now here's a funny thing...
I was going to add a small sub menu (suckerfish style) to the current menu of a friend's website. And as always it's beautiful in all browsers (even IE 7) with li:hover and this png alpha transparency. I mean I even got it to work in IE 6 with a trimmed down 8 bit png (through conditional comment) but at some point it stopped working (and I didn't notice at which point! :rolleyes: )
So I took the HTML apart, I took the stylesheet apart, I got rid of everything and it took me hours to figure out what the issue was.
Take a look with IE 6 at the navigation where it's working (http://fortissimoband.de/index.shtml) and then look at the example with the sub nav not showing up at all: http://fortissimoband.de/index2.shtml. And now tell me where the difference is...
Ok, to relieve you from the work and not tax your patience I'm gonna tell you why it's not working. It's this line:
<body id="index" onload="preloadimages('images/bg_submenu_32.png','images/bg_submenu_8.png');">
or - to be more precise - this snippet that's causing the issue:
<body id="index" onload="preloadimages('images/bg_submenu_32.png','images/bg_submenu_8.png');">
It's so aggravating that it's already funny again. :)
I mean I've solved it eventually but does any of you wise fellows have an explanation for that?
It's really working everywhere (and for the real beauty you should look at it in "not IE 6").
Cheers mates! :)
I was going to add a small sub menu (suckerfish style) to the current menu of a friend's website. And as always it's beautiful in all browsers (even IE 7) with li:hover and this png alpha transparency. I mean I even got it to work in IE 6 with a trimmed down 8 bit png (through conditional comment) but at some point it stopped working (and I didn't notice at which point! :rolleyes: )
So I took the HTML apart, I took the stylesheet apart, I got rid of everything and it took me hours to figure out what the issue was.
Take a look with IE 6 at the navigation where it's working (http://fortissimoband.de/index.shtml) and then look at the example with the sub nav not showing up at all: http://fortissimoband.de/index2.shtml. And now tell me where the difference is...
Ok, to relieve you from the work and not tax your patience I'm gonna tell you why it's not working. It's this line:
<body id="index" onload="preloadimages('images/bg_submenu_32.png','images/bg_submenu_8.png');">
or - to be more precise - this snippet that's causing the issue:
<body id="index" onload="preloadimages('images/bg_submenu_32.png','images/bg_submenu_8.png');">
It's so aggravating that it's already funny again. :)
I mean I've solved it eventually but does any of you wise fellows have an explanation for that?
It's really working everywhere (and for the real beauty you should look at it in "not IE 6").
Cheers mates! :)