Jump to content
  • Advertisement
  • entries
    1212
  • comments
    1738
  • views
    1144375

Fix yer active content.

Sign in to follow this  
johnhattan

137 views

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 javascript, are unaffected.

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.

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 here. After that, the applet will work normally.

Stupid? Yes.

Pointless? Yes.

Annoying? Yes.

Easily worked around? Fortunately yes.

Apparently one thing not covered by the patent is putting those common embedded tags in javascript 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.

If you're using Flash, an easy little hack is here. It works just fine in every browser I tried and adds a few little niceties like player version detection.

If you're running Java applets or Shockwave or something else, google around for a similar hack.

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.

I just did it with all of my stuff, so if you see any of my pages suddenly acting funny, lemme know.

Just FYI.
Sign in to follow this  


3 Comments


Recommended Comments

Perhaps we'll get lucky and these obnoxious, slow, poorly rendering AJAX sites will finally go away.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!