open a window in the background

Discussion in 'Javascript' started by Ed Brandmark, Apr 15, 2004.

  1. Ed Brandmark

    Ed Brandmark Guest

    I want to be able to open a window in the background of my page -
    without that flicker you see if you just open the window and then blur
    it (or focus the main window).
    The reason I want to do this is that I want to open a window and
    retrieve an URL. That URL may have 'nothing to say' and thus it will
    just do a self.close()
    In this case the user sees this flicker and then there is nothing back
    there.

    If something is returned the popup window will focus itself - and thus
    be completed.

    I can't evaluate the condition first (before opening the window) thus
    I am stuck. I was just wondering if there is a way to open a window
    in the background without using blur or focus.

    Thanks in advance
    Ed
     
    Ed Brandmark, Apr 15, 2004
    #1
    1. Advertising

  2. Ed Brandmark

    kaeli Guest

    In article <>,
    enlightened us with...
    >
    > I can't evaluate the condition first (before opening the window) thus
    > I am stuck. I was just wondering if there is a way to open a window
    > in the background without using blur or focus.
    >


    Not really, but if you're targeting recent browsers, you can have an
    "invisible" iframe that can do the check, then open the window if
    necessary.

    --
    --
    ~kaeli~
    Dancing cheek-to-cheek is really a form of floor play.
    http://www.ipwebdesign.net/wildAtHeart
    http://www.ipwebdesign.net/kaelisSpace
     
    kaeli, Apr 16, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mason66
    Replies:
    0
    Views:
    430
    mason66
    Jul 27, 2006
  2. JWL
    Replies:
    4
    Views:
    596
    Michael Winter
    Sep 26, 2006
  3. jc
    Replies:
    3
    Views:
    1,755
  4. PC HUA
    Replies:
    2
    Views:
    436
    PC HUA
    May 19, 2004
  5. HopfZ
    Replies:
    1
    Views:
    181
Loading...

Share This Page