java popup auto close..?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: java popup auto close..?

  1. #1
    Join Date
    May 2005
    Posts
    1

    java popup auto close..?

    Dear all i know next to nothing about Java so if you reply go easy on me please.

    Here is my situation, im desigining a company intranet site that will be availaible to members of the pulic who visit our offices.

    In order to have the browser (ie 6.0) display as we would like ive hashed out a small bit of script.

    This script will be the starting point for our intranet it is designed to customise the browser, it then calls the actual intranet page.
    Ive set it to close itself after a few seconds but i get a dialogue box the web page you are veiwing is trying to close the window do you want to close this window? YES/NO buttons. I want it to automatically select yes and just close itself with no user interaction, leaving only the customised browser page open.

    Can anyone help
    ive attached my entire script in the doctment extracted.txt
    (ive substituted our intranet page with http://www.microsoft.com so it will work if you try it out)

    help is needed on this one as im a bit lost now

    Kind regards
    Paul Killington

    </html>
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2004
    Posts
    311
    You can only autoclose browser windows you have created through Javascript. When trying to autoclose the original window (as opened by the user) you will always get a pop asking for permission. This is a security feature within IE. The only way around this is to create a pop-up, customize that one, and autoclose it.

  3. #3
    Join Date
    May 2005
    Location
    Denmark / Copenhagen
    Posts
    15
    ... be carefull about the pop-ups, many people has pop-up killers installed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center