open a window in the background

E

Ed Brandmark

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
 
K

kaeli

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.

--
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top