This hack or tutorial it is for web admins that what to remove the “click to activate and use this control” that appears in IE7 or above.
Steps:
- Goto your last <object> and write this below
<script type="text/javascript" src="NoActiveAndUseThisControl-IE7.js"></script>
- Now, open notepad and copy and paste this code into notepad.
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
} - Save As this file and name it as “
NoActiveAndUseThisControl-IE7.js
“ - Now upload them into your server and you should be good to go ;).