Monday, October 19, 2009

Why does my script trigger a 'security' alert in IE?

I am writing a pretty straight forward website with some dynamic effects using CSS and Javascript. Mostly, I have 'onmouseover' and 'onmouseout' events to have roll-over effects, including style changes and moving an image up and down in sync with the mouse.



It works great in my HTML editor preview (which uses IE as the renderer), but when I view it in IE6 I get an alert "Internet Explorer has restricted this file from showing active content that can access your computer...". The script is very simple, and when I run other sites with similar script I don't get this message.



Does anyone know if there is a specific event or element that triggers this alert in IE?



Why would my script have this problem and others not?



Is it because the HTML and image files are still local?



Why does my script trigger a 'security' alert in IE?virus



the security model for js make it impossible for a script to get an httprequest from another server, it also has many similar rules.



is the whole thing on the net or on your hard drive?



does it go away when you put it on the net?



Why does my script trigger a 'security' alert in IE?anti virus



there's probably something wrong with the script

No comments:

Post a Comment