Results 1 to 3 of 3

Thread: Popup window without focus

  1. #1
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Popup window without focus

    How can i create a pop window without focus on it.

    I have a situation where user may be working on some other applications, and my application browser refreshes and makes ajax calls to server for status, on a particular status, i want to popup a browser window, but users should be able to continue what they are doing without disturbing.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    After the window does whatever it might do that is bringing it to the top, have it do a:

    Code:
    self.blur()
    That will send it back below whatever was on top before, usually without appearing on top at all.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default not exactly

    well, i don't even want to focus on parent window. Parent page could be refresshing a javascript function, that function would be claling server code on some status.

    User might be working on some other windows, Without user events and getting focus on parent window, i want to open a popup window.
    Lets say user browsed parent window, and now typing a mail from outlook, and that browser window finds some status on server, and it needs to open a popup. User shouldnot panick, and continue what he is doing on outlook without losing focus.

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
  •