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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP/IE6 permissions and javascript

Status
Not open for further replies.

Tracey

Programmer
Oct 16, 2000
690
NZ
Hi

I have a strange problem with some javascript which runs when my users open a popup report in XP/IE6. This only happens sometimes, and only on XP/IE6 - so far. (I am also posting this in the Javascript forum)

The new window pops open, the code that runs is
Code:
if (window.screen) self.resizeTo(screen.availWidth,screen.availHeight);

I have two users now who have had a Runtime Error Alert box, and when the debug button is clicked this line is pointed out as the problem. The error is "Access is Denied" [sadeyes]

Has anyone here got any idea about this?

Tracey
Remember... True happiness is not getting what you want...

Its wanting what you have got!
 
Is this a question on what is causing this error or how to stop the error showing in IE?

To stop it showing try this.

In Internet Explorer/ Tools/ Internet Options/ Advanced/ Browsing. Check "Disable Script Debugging" and also Uncheck "Display a notification about every script error"

If that doesn't fix it or answer your question have a look around here for help with Runtime Errors.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top