[Pro] SVG Image Action -- Suppress ActiveX Warning

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.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

May you live to be one thousand years old, Walter!

It works!

The graphic displays and there’s no more beep or warning!

So what specific code block should I copy/paste into Protaculous2 (or page Markup) to work this wonderful magic?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I just revved the SVG image action to support this trick.

Walter

On Apr 22, 2013, at 11:08 PM, JDW wrote:

May you live to be one thousand years old, Walter!

It works!

The graphic displays and there’s no more beep or warning!

So what specific code block should I copy/paste into Protaculous2 (or page Markup) to work this wonderful magic?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

In that case I should rephrase to say “two thousand years old!”

I just finished testing in IE7/8/9/10, FF (Mac & Win), Chrome (Mac & Win) and Safari (Mac). Your revised Action works great!

Here’s the download page for those of you following this:
http://actionsforge.com/actions/view/295-svgimage

Thank you, Walter!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The graphic displays and there’s no more beep or warning!

I cant compete with an action for ease of use so no point in trying the conditional styling route.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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!

For not IE browsers:

Lorem Ipsum

For IE browser versions:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wow. That’s funny. When I posted, my correction was removed from my entry. Hopefully, it will show up below with quotes.

"For non-IE browsers:

Lorem Ipsum

For IE browser versions:

"

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is a mailing list. There is no sort of correction possible once an e-mail has been sent.

Walter

On Aug 20, 2013, at 8:40 PM, DA wrote:

Wow. That’s funny. When I posted, my correction was removed from my entry. Hopefully, it will show up below with quotes.

"For non-IE browsers:

Lorem Ipsum

For IE browser versions:

"

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK. A little better. Didn’t show all of what I wanted however. Last time for non IE browsers. Ignore quotes and parentheses. “(Lorem Ipsum)”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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 <!–


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It worked. That is not an em-dash, by the way. Should be “–>” and “<!–”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK. I give up.

If you want to post some code on a new line put 4 tildes in a row ~~~~

Then your code

a new line and four more tildes ~~~~

Then your code

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK. Thank you for the for the instructions, David. Sorry to blow-up folks email boxes; didn’t realize it was a list-serve.

Unfortunately, the preview of this post shows that despite the 4 tildes, the code stops displaying right after …Ipsum<!–


<!--[if !IE]> -->Lorem Ipsum<!-- <![endif]-->
<!--[if IE]>Lorem Ipsum<![endif]-->

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

I’m totally confused by all these posts today. What specifically is wrong with the code I use on my sites?

For example, here’s the top page in one of my sites:

view-source:VISION Auto Security Systems

Do a keyword search in that HTML for “lte” to see all the instances where I use conditional statements. Now offer me your feedback on that.

Thanks,

James W.


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]-->

Hope that helps. It’s confusing, I know.

Donald


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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:

view-source:http://visionsecurity.jp/en/sensors/318_052.html

And you can see the SVG graphics in all their glory on that page here:

http://visionsecurity.jp/en/sensors/318_052.html

Best,

James W.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nice. Your site looks good. Glad you’ve found success. Cheers!

Donald


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options