Try again now. This is probably the only thing that could work on that wretched excuse for a browser. We end up punishing all other browsers just to pacify its childish tantrums. The script is now an inversion of the previous approach – standard browsers use JavaScript-injected SVG, and IE sees a static-coded PNG.
Walter
On Apr 22, 2013, at 10:21 PM, JDW wrote:
Nope. IE8 on WinXP gives be the annoying “be-deep” sound and warning message.
Hey JDW, I’m new here. Happened across this thread looking for something else. Glad you found a workaround. However, I wanted to point out that your syntax for non-IE browsers in the original post is incorrect and is at least part of the reason for the conditional failure. You left out an additional “–>” and “<!–”. It’s a subtle but important distinction. See below. Cheers!
OK. I give up. Just look it for appropriate non-IE syntax. Basically, it’s the same as the for IE browser syntax, but with the addition of → as the last part of the start/opening tag. And as the first part of the end/closing tag, you add <!–
Just to show you that I used the tildes correctly. I’m posting this gibberish where the code I entered should be showing. Even above, I simply wrote “…Ipsum.” not “…IpsumLorem Ipsum.”
See. I feel like I'm in the twilight zone. Some odd background editing is occurring. I'm sure there's a pattern. It doesn't like the ankle bracket before <exclamation><dash><dash>.
OK. Enough. Till next time.
Donald
_______________________________________________
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
That code looks fine. However, in your post above, it’s the code that affects all other browsers (and IE9/10, in this case) that is incorrect. So that it shows up below, I will selectively use a “b” for ankle bracket, “x” for exclamation point, and “d” for dash, where the code should differ. Ignore the quotes but be sure to include the spacing exactly as below. The ankle brackets point inward toward Lorem Ipsum.
<!--[if !IE]> "ddxb"Lorem Ipsum"bxdd" <![endif]-->
<!--[if IE]>Lorem Ipsum<![endif]-->
So taking your example at the beginning, it should be:
<!--[if !IE ]> "ddxb"
<div id="Dshock" style="position:absolute; left:452px; top:73px; width:61px; height:75px; z-index:15">
<object type="image/svg+xml" data="052_Dshock.svg"></object>
</div>
"bxdd" <![endif]-->
I think I gave up on doing conditional statements for use on pages where I used the SVG action because it was too much manual labor for me. You can see the HTML of the page you refer to here: