SEO Software
Closed Thread
Results 1 to 4 of 4

Thread: popout window

  1. #1

    Default popout window

    Let me know how to make popout window using javascript in asp.net?


  2. SEO Software

  3. #2
    Mr. BindasS ankur0412 is on a distinguished road ankur0412's Avatar
    Join Date
    Feb 2009
    Location
    India
    Posts
    717
    Thanks
    24
    Thanked 55 Times in 42 Posts
    Blog Entries
    2

    Default

    use the code
    window.open('url');
    to open a new window.
    you might require to refresh the parent window after popup is closed..do this using the code below
    window.close();
    if (window.opener && !window.opener.closed) {
    window.opener.location.reload();
    }
    Last edited by ankur0412; 12-07-2009 at 11:15 AM. Reason: syntax error

  4. #3

    Default

    You can use window.open() for opening a popup window in the javascript you can pass title and co-ordinates of the window as a parameter

  5. #4

    Default

    You may use the following code for onload event

    <body onLoad="javascript: alert('On Load event fired!')">

    and this one for unload event


    <body onUnload="javascript: alert('Unload event fired!')">

Closed Thread

Similar Threads

  1. Refresh parent window
    By sanky12ka4 in forum JavaScript Help
    Replies: 1
    Last Post: 12-07-2009, 11:16 AM

Tags for this Thread

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