Create a JavaScript file — I called it FixActivate.js — and put this in it:
var objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++) {
objects[i].outerHTML = objects[i].outerHTML;
}
Then, at the bottom of any HTML page containing embedded objects, include this file like so: <script src="FixActivate.js" type="text/javascript"></script>Now when the page is loaded, the embedded objects are immediately active.
No comments:
Post a Comment