Jump to content

Recommended Posts

Posted

We use ISA to block specific websites. When ISA blocks a website it redirects the student to a HTML file which in turn redirects the user to another file which displays to the student what has just happened and why the page was blocked. The page the user is first redirected to is closed.

 

Here is the code for the first page:

 

function tidy() {

window.open("PageToBeLoaded.htm","Page_Access_Denied","width=1019,height=750,scrollbars=0,status=no,resizable=no,toolbar=no,menubar=no,top=0,left=0");

window.opener=top;

window.close();

}

 

Where ‘PageToBeLoaded.HTM’ is the page which contains the details explaining the recent events to the student.

 

This worked very well until we deployed IE7. Now Internet Explorer insists on showing a dialog box [see attached picture]

 

My question is this: Is there any way of adjusting the code shown above to prevent the dialog being shown?

 

Any ideas welcome. Thanks.

Unwanted Internet Explorer Dialog.jpg

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...