Quick IE Fix

Michael Moore (no, not the documentary director!) brought this little IE 7
quick fix to my attention.

Just below the last in your HTML page, insert the following Javascript:

Open a new document in Notepad or your HTML editor, and copy & paste the following content into it:

theObjects = document.getElementsByTagName(“object”);
for (var i = 0; i < theObjects.length; i++)
theObjects[i].outerHTML = theObjects[i].outerHTML;

Save this file as fixit.js

There is also the SWF Object: SWFObject is a Javascript file used to embed Flash content. It detects the Flash plug-in in all major web browsers and is designed to make embedding Flash movies as easy as possible. Its also search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents*, and is forward compatible, so it should work for years to come.

SWFObject has a nice little API for adding flash vars and upgrading the Flash Player.


Get SWFObject

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.