Results 1 to 2 of 2

Thread: Opening and Closing Browsers

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Alberton, Gauteng, South-Africa
    Posts
    48

    Question

    Hey Guy's

    the heading say's it all .. I'm opening a Page using:
    ************

    function Head(page) {
    OpenWin = this.open(page, "CtrlWindow", "height=300,width=400,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no");
    }

    *************

    Now I want to close the parent page at the same time .. is this possible? and how would I do this?

    Thanks in advance!
    ;-)
    Jaco
    South-Africa

  2. #2
    Guest
    Here is how to close a window.


    Code:
    <script language="javascript">
    
    function closeWin()
    {
    window.Close();
    };
    
    </script>
    
    <A HREF="javascript:closeWin();"
    onMouseOver="window.status='Close the Window';return true";>Close Window</A>

Posting Permissions

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



Click Here to Expand Forum to Full Width