Activate control

From JumbaWiki

Jump to: navigation, search

You might have notices these tooltips in Internet Explorer lately, due to a legal case with Microsoft about using ActiveX controls. It appears an all active content such as Flash and videos and makes your website appear like it's not working.:

  • Press SPACEBAR or ENTER to activate and use this control
  • Click to activate and use this control

The work-around

Here's a quick JavaScript code you can use to get around this issue. Place the following code at the end of your HTML page just before the </body></html> tags:

<script language="Javascript">
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
</script>

See also

External links

Personal tools
Australian Photography | Unique Views of Reality | Daedalus