+ Post New Thread
Results 1 to 3 of 3
How do you do....it? Thread, HTML Coding: ‘Do You Want To Close This Window?’ in Technical; We use ISA to block specific websites. When ISA blocks a website it redirects the student to a HTML file ...
  1. #1

    DaveP's Avatar
    Join Date
    Oct 2006
    Can't talk now: The mother-ship is calling!
    Thank Post
    Thanked 1,349 Times in 927 Posts
    Blog Entries
    Rep Power

    HTML Coding: ‘Do You Want To Close This Window?’

    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">
    <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");
    <body onload="tidy();">

    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.
    Attached Images Attached Images

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Alcester, Warwickshire
    Thank Post
    Thanked 778 Times in 651 Posts
    Rep Power
    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" )

  3. #3

    Join Date
    Feb 2006
    Thank Post
    Thanked 211 Times in 171 Posts
    Rep Power

+ Post New Thread

Similar Threads

  1. Code to close an application.
    By FN-GM in forum Scripts
    Replies: 1
    Last Post: 11th June 2008, 06:44 PM
  2. Replies: 3
    Last Post: 10th April 2008, 10:39 AM
  3. Need some Coding
    By russdev in forum Web Development
    Replies: 5
    Last Post: 11th November 2006, 11:49 PM
  4. Windows Mobile Coding
    By plexer in forum Coding
    Replies: 4
    Last Post: 24th June 2006, 08:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts