Explorer Object Starter
General
A very simple script which activates objects in Explorer 7 so people don't have to click on Flash to activate.
Notes
- Created by: Jeroen Haan
- Web Site: http://www.haan.net/
- Posted: January 22, 2007
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: fixFlash.js
Head
Paste this code into the HEAD section of your HTML document.


Leave a Response
(11 comments)@Jeroen Haan[br /][br /]I used your new version and it did work. I added the code directly (not externally) in the head section of my page then added the onload event in the body tag along with the other onload functions I have in my page...[br /][br /]thanks... nice script.
Dear Paul,[br /][br /]Place the script starter at the bottom of the page just before </body> like this:[br /][br /]<script type="text/JavaScript">fixFlash();</script>[br /][br /]Even better to only target IE like this:[br /][br /]<!--[if IE 7]>[br /]	<script type="text/JavaScript">fixFlash();</script>[br /]<![endif]-->
very great script
Dear Luke and Nidhi,[p]Can you please supply us with code or life example?
New version can be found here:[br /]http://www.haan.net/js/fixFlash.js[p]It handles the embed tag as well.[p]Be careful with it's function starter, the onload call...[p]Better is the start the script like this:[br /]<body onload="fixFlash">[p]This way it won't mesh up with possible other onload calls.[p]PS[br /]You can also exclude FireFox by using the window.attachEvent = function()[br /]{[br /]	fixFlash();[br /]}