English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2 answers

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?

2006-09-11 10:31:33 · answer #1 · answered by jake cigar™ is retired 7 · 0 0

there's probably something wrong with the script

2006-09-11 10:28:06 · answer #2 · answered by uhd0rableo8 4 · 0 1

fedest.com, questions and answers