Navigation Menu

What's New?
Alphabetical Listing
Site Contents


Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner














Internet.com

IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Social Bookmark

General

A simple script which activates objects in Internet Explorer 7 so users don't have to click on Flash to activate. In addition to object and embed tags, support is also provided for applet tags and all their param tags.


Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: explorerPluginStarter.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


User Comments

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

5. From: Jason
cool script
08/21/2007 11:11:13

This script works great!
Just wanted to say thanks for writing it.
It's awesome!!!

8. From: kumar
works...but duplicates .swf?
01/01/2008 14:46:57

Hi jason + gang,
hope all is well...thanks for the code, Mr.Haan!

code works...displays perfectly on my Mac...but not on PC?

please have a look at site: it's a PHP, with basic includes, of header +footer...

this page works fine...there is the flash element in the footer, near the bottom, the logo opens up
www.ocelotdiseno.com/contact.php
but on this page below, the .swf file in the body repeats itself in the footer!

www.ocelotdiseno.com/design.php

please help...thanks much!

kumar

6. From: Marcelo Franco
Dont work for me...
08/18/2007 09:09:48

I did everything all right, but it didnt work... Can somebody help me?

7. From: Lee (Admin)
10/03/2007 14:34:02

You need to submit your question to the JavaScript Forum.

3. From: michael
javascript for explorer 7
08/12/2007 02:55:24

I don't know how to write this and am confused by the 'head' and 'body' etc Can you please explain?
Michael

4. From: Lee (Admin)
09/05/2007 12:27:17

You need to submit your question to the JavaScript Forum.

1. From: Steve
Not Cross Browser
08/10/2007 18:57:08

All browsers apart from those based on Mozilla (which was given an exemption) are required to have that activation option appear in the web page, the issue is not just with Internet Explorer and yet because this code uses proprietary IE commands it will still leave other browsers displaying the activation message. Why not change the code so it works for all browsers?

2. From: Lee (Admin)
09/05/2007 12:21:58

Steve, As you are aware, I don't write these codes. You would need to contact the script's creator for that answer.


Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.