open a window in the background

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ed Brandmark

    open a window in the background

    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
  • kaeli

    #2
    Re: open a window in the background

    In article <5fbc4660.04041 51249.337141bf@ posting.google. com>,
    ebrandmark@aol. com enlightened us with...[color=blue]
    >
    > 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.
    >[/color]

    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.



    Comment

    Working...