[if !IE] causing Safari and Google Chrome to show flash .swf twice
Greetings everyone,
I inherited a problem on a website. In the html code there is a flash object, then right after is another slightly different flash object within an [if !IE] to load that one in IE. Everything works fine in all the Windows browsers and in Firefox for Mac. Safari and Google Chrome for the Mac, however, cause both of the flash objects to load, one stacked on top of the other. I know it is because of the WebKit both browsers use to render. Does anyone know of a fix? Any help would be appreciated.
Why is it neccessary to use the [if !IE] code?
The reason you see two objects stacked on top of each other is that the first <object> renders just fine in Safari and in Chrome. Then the code reads, and [if !IE], also display the second <object>.
So remove the conditional statement and all the code related to the second <object>.
Best wishes,
Eye for Video www.cidigitalmedia.com
[if !IE] has the ! operator in front of IE, meaning if it is NOT IE, do this, display a second .swf. But since all the browsers (IE, Chrome, Safari, etc.) have already displayed the first.swf, non IE browsers will also display a second .swf
EfV
Bookmarks