
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:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="javascript">
function tidy() {
window.open("PageToBeLoaded.htm","Page_Access_Deni ed","width=1019,height=750,scrollbars=0,status=no, resizable=no,toolbar=no,menubar=no,top=0,left=0");
window.opener=top;
window.close();
}
</script>
</head>
<body onload="tidy();">
</html>
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.

Not in your HTML. This is a property of IExplore, I don't know if it can be disabled (I suspect not, because it's a "safety measure")
Close window without the prompt message in IE7 - Haissam [MCAD] any use as a workaround?
There are currently 1 users browsing this thread. (0 members and 1 guests)