One step closer... now firefox displays the alternate content, but not the flash. IE, Safari and iPhone work fine.
Why does firefox skip right to the alternate content? Thank you for this tip though it at least got something on the page. On Apr 27, 2:36 pm, Vincent Polite <[email protected]> wrote: > If you're trying to do an IE conditional, the format is: > > <!--[if IE]> HTML <![endif]--> > Your code seems to have an additional <!-- in front of the endif which is > probably confusing your parser. The idea is that if you're in a browser > that recognizes conditionals, then it will actually render/parse the stuff > in between the if and endif. However, if you're in a browser that doesn't > recognize conditionals, then the <!-- and closing --> will treat everything > in between as if it were commented out. > > So in your case, you have extra --> after your if IE statement and another > extra <!-- in front of your <![endif]--> tags that are throwing things off. > > Hope this helps. > > Vincent > > On Mon, Apr 27, 2009 at 10:55 AM, jderosa3 <[email protected]>wrote: > > > > > FireFox 3 is displaying on the page "->" where the Flash should be... > > It looked like a broken tag... but I don't think so - here is my code: > > > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > > width="641" height="281" id="myFlashContent"> > > <param name="movie" value=" > >http://www.xxx.com/wp-content/uploads/ > > about.swf" /> > > <param name="loop" value="false" /> > > <param name="quality" value="high" /> > > <param name="scale" value="noscale" /> > > <param name="wmode" value="transparent" /> > > <param name="allowfullscreen" value="false" > > /> > > <!--[if !IE]>--> > > <object type="application/x-shockwave-flash" > > data="http:// > >www.xxx.com/wp-content/uploads/about.swf" width="641" height="281"> > > <param name="loop" value="false" /> > > <param name="quality" value="high" > > /> > > <param name="scale" value="noscale" > > /> > > <param name="wmode" > > value="transparent" /> > > <param name="allowfullscreen" > > value="false" /> > > <!--<![endif]--> > > <img src="http://www.xxx.com/images/about-header.jpg" alt="About Us" / > > > <!--[if !IE]>--> > > </object> > > <!--<![endif]--> > > </object> > > > This code works perfect in IE and also Safari, but not FireFox (3)... > > any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
