I’m making a snippet that people can add to their web sites. My problem is that it invokes the yellow “ActiveX” bar at the top in Internet explorer. I’m not sure what invokes it. This is my code:
<a id="nhl1" href="http://www.theaddress.com/">link</a>
<script type="text/javascript">
(function () { document.getElementById('nhl1').innerHTML =
'<img src="http://www.theaddress.com/banner1.jpg" alt="image 1" style="border: none;" />'; })();
</script>
If you’re running the page in the local machine, this will happen when there is a script on the page. The actual message is:
[emphasis mine]
If you run the same page on a webserver, you will not see the yellow warning bar.