DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4

Thread: close window

  1. #1
    shadowone Guest

    close window


    i need a help
    how can i close a html windows
    if i use window.close
    i get the message if i want to close or not
    but how can it automaticly close the window without asking?????


    please help me

    thanx

    Shadowone

  2. #2
    Rama Guest

    Re: close window


    Try this file..
    <html>
    <head>
    <title>Close window</title>
    <script language="JavaScript">
    function closeWn() {
    window.close();
    }
    </script>
    </head>
    <body>
    <a href="javascript:closeWn()">Close Window</a>
    </body>
    </html>
    -----------------------------------------------------------------
    "shadowone" <shadowone@hotmail.com> wrote:
    >
    >i need a help
    >how can i close a html windows
    >if i use window.close
    >i get the message if i want to close or not
    >but how can it automaticly close the window without asking?????
    >
    >
    >please help me
    >
    >thanx
    >
    >Shadowone



  3. #3
    Jason Guest

    Re: close window


    Hi…
    My name is Jason. I’m recruiter looking for Expert Java developer for a bank
    here in NYC.
    It’s a contract to perm position… Awesome relocation package is available
    and head to toe health benefits…
    Qualifications…. 3 years plus, design and coding of complex web based apps…

    Knowledge… Java application development servlets and not just applets…
    Strong … Java skills, HTML, JavaScript’s, database connectivity design &
    programming
    If you know of anyone please contact me at 212-743-0226 or 800-972-8466
    Jason..


    "shadowone" <shadowone@hotmail.com> wrote:
    >
    >i need a help
    >how can i close a html windows
    >if i use window.close
    >i get the message if i want to close or not
    >but how can it automaticly close the window without asking?????
    >
    >
    >please help me
    >
    >thanx
    >
    >Shadowone



  4. #4
    David Guest

    Re: close window


    Just remember, you can only close a window with code that you've opened with
    code (without having that "are you sure?" message box).


    "Rama" <rraju1@yahoo.com> wrote:
    >
    >Try this file..
    ><html>
    ><head>
    ><title>Close window</title>
    > <script language="JavaScript">
    > function closeWn() {
    > window.close();
    > }
    > </script>
    ></head>
    ><body>
    ><a href="javascript:closeWn()">Close Window</a>
    ></body>
    ></html>
    >-----------------------------------------------------------------
    >"shadowone" <shadowone@hotmail.com> wrote:
    >>
    >>i need a help
    >>how can i close a html windows
    >>if i use window.close
    >>i get the message if i want to close or not
    >>but how can it automaticly close the window without asking?????
    >>
    >>
    >>please help me
    >>
    >>thanx
    >>
    >>Shadowone

    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links