.swf files

G

Guest

I am looking at ways of preventing having to click onto swf files to operate
them in the latest browers IE7. I have been given some code but just wanted
to know if anybody else has other ways?

To fix the problem
1) Just below the last <object> in your HTML page, insert the following
Javascript:

<script type="text/javascript" src="ieupdate.js"></script>

2) Add a small .js file to your website directory. You can download the
zipped .js file here
3) Save this file as ieupdate.js to the root of your website
(4) Upload both files to your webserver, and the problem should be solved.

Copy below into a new file and save as ieupdate.js

objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects.outerHTML = objects.outerHTML;
}
 
A

Andrew Murray

That's the nature of the browser. It's a security feature, you can't turn
it off (well you probably can, but it's at your own risk).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top