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?
2006-09-11
10:26:17
·
2 answers
·
asked by
Wundt
7
in
Computers & Internet
➔ Programming & Design
Everything is local, but I have other files with similar scripting which run without error on my local computer.
2006-09-11
10:38:27 ·
update #1
I get the error when there is ANY script in the file. All I have in there right now is
onmouseover="this.style.color='white'" onmouseout="this.style.color='black'"
On one object, and I get the error
2006-09-11
10:41:18 ·
update #2