Fix yer active content.

Published April 03, 2006
Advertisement
Read this, because this is important if you run a web page.

If you have any "active content" on your webpage that loads from an APPLET, EMBED, or OBJECT HTML element, your page is gonna act funny in the upcoming version of IE.

Now then, before you jump on the "IE Suxxorz" bandwagon, it ain't Microsoft's fault. Basically some guy managed to patent "active content" items in web pages that load from an external file via the aforementioned tags. That means that Java applets, Flash applets, Shockwave movies, Quicktime movies, Virtool applets, and a buncha other embedded apps are affected. Things that aren't embedded from external files, like menus written in &#106avascript, are unaffected.<br><br>I don't know if or how this'll affect future versions of Firefox and/or Opera. The patent-owner, Eolas, might just be going after the deepest pockets first.<br><br>The upshot is that, to comply with the patent, active content in web pages on IE 7 must be activated. That means when you click on an active webpage element, it'll pop up a tooltip saying that you'll have to click it again to interact with the content as shown <A HREF="http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp">here</A>. After that, the applet will work normally.<br><br>Stupid? Yes.<br><br>Pointless? Yes.<br><br>Annoying? Yes.<br><br>Easily worked around? Fortunately yes.<br><br>Apparently one thing not covered by the patent is putting those common embedded tags in &#106avascript rather than HTML. So if you do a little tweaking to your HTML, you can ensure that your content will continue to work fine on everything.<br><br>If you're using Flash, an easy little hack is <A HREF="http://blog.deconcept.com/flashobject/">here</A>. It works just fine in every browser I tried and adds a few little niceties like player version detection.<br><br>If you're running Java applets or Shockwave or something else, google around for a similar hack.<br><br>Also fortunately, wrapping your applets this way is reasonably future-proof. If an industry consortium appears and crushes this patent like a bug, you won't have to return to pull all of your workaround code out.<br><br>I just did it with all of my stuff, so if you see any of my pages suddenly acting funny, lemme know.<br><br>Just FYI.<div> </div>
0 likes 3 comments

Comments

pan narrans
Thanks for the heads up
April 03, 2006 04:34 PM
Ravuya
Perhaps we'll get lucky and these obnoxious, slow, poorly rendering AJAX sites will finally go away.
April 03, 2006 07:02 PM
Rob Loach
How can something so simple have a patent.... Argh...
April 03, 2006 07:47 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement