Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE7 script error 1

Status
Not open for further replies.

ClulessChris

IS-IT--Management
Jan 27, 2003
890
GB
Firstly let just say that although I have a basic understanding of HTML / CSS I’m far from at my best here. I’m only now learning JavaScript; I’m much more at home with VB.
My problem is with an IE7 error message:
“To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options...”

I have the 2 attached pages both linking to a CSS & JS file. One works fine but he other raises the error, and will not open from a hyperlink on another page (no error just a dead link).

The difference between the 2 files (apart from content) is the working one was created with notepad but the other with MS FrontPage and one has nested tables.

Both pages use JavaScript to show and hide <DIV> on mouse over event of a bookmark.

I’ve tried re-creating the file in note pad but still get the errors. Once the file starts generating errors I can’t seem to get rid.

Please help.


Never knock on Death's door: ring the bell and run away! Death really hates that!
 
You're simply triggering IE's built-in protection.

That security alert typically is only shown when a script is found in your local zone - try uploading your page and script to your web server and the message should disappear.


Notepad vs. FrontPage has nothing to do with it.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Many thanks, you're a star.

Never knock on Death's door: ring the bell and run away! Death really hates that!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top