Hey guys,
I have a client who has requested (even after the possible consequences were explained) that I use a flash navigation bar in her website. The problem is, this bar doesn't play nice with a lot of out-dated browsers (IE6 and before, old versions of safari, and old versions of opera).
So, I thought I would resort to conditional comments to make things easier. Below you can see the html code that I am trying to use to get the site to display properly:
In my css file I have it set so that the background of this div is an image (brown gradient background). So, to my understanding, if the browser is less than or equal to IE6, then there should be nothing in this div and it should show that background image, right?
When I test this in browsershots for IE6, it shows a solid white bar where the div is (as if the div had a white background set).
Am I using these conditional comments correctly? Let me know what you think!
THANK YOU!!
P.S. I already know the issues that I might face by using wmode parameters and such...that's already been discussed and that's what the client wants...go figure...
-Tom-
I have a client who has requested (even after the possible consequences were explained) that I use a flash navigation bar in her website. The problem is, this bar doesn't play nice with a lot of out-dated browsers (IE6 and before, old versions of safari, and old versions of opera).
So, I thought I would resort to conditional comments to make things easier. Below you can see the html code that I am trying to use to get the site to display properly:
HTML:
<div id="navigation">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="ecochic_navigation.swf" width="500" height="150">
<param name="wmode" value="transparent" />
<!--<![endif]-->
<!--[if lte IE 6]>
<!--<![endif]-->
<!--[if IE 7]>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="150">
<param name="movie" value="ecochic_navigation.swf" />
<param name="wmode" value="transparent" />
</object>
<!--<![endif]-->
<!--[if IE 8]>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="150">
<param name="movie" value="ecochic_navigation.swf" />
<param name="wmode" value="transparent" />
</object>
<!--<![endif]-->
</div>
In my css file I have it set so that the background of this div is an image (brown gradient background). So, to my understanding, if the browser is less than or equal to IE6, then there should be nothing in this div and it should show that background image, right?
When I test this in browsershots for IE6, it shows a solid white bar where the div is (as if the div had a white background set).
Am I using these conditional comments correctly? Let me know what you think!
THANK YOU!!
P.S. I already know the issues that I might face by using wmode parameters and such...that's already been discussed and that's what the client wants...go figure...
-Tom-