Forum Moderators: open

Message Too Old, No Replies

Loosing current window focus, when i get new popup window

window focus

         

kris123

12:57 am on Oct 17, 2003 (gmt 0)



Hi,
I develop an application where i create popupwindows. I want these windows to open in background with out interrupting user's work( not takingoff user's current window focus).

Right now Iam getting all popup windows.But the problem is,
iam loosing focus of current window whenever the new window popup( example: if iam typing something in wordpad then if I get popup i can't type anymore,bcoz i last my wordpad focus.). Hope you understood what i tring to say.

Iam using window.blur() on window onLoad event, to loose focus stay in back of all windows. But before it is getting blur, it is taking of current window focus.

One interesting this is that, the same code is working fine in some pc's but some we have focus problem. We compared browser versions(IE 6.0),operating system (win2000), security levels between working and nonworking pc's.Both looks same. I know we are missing some thing.
After doing all kinds of work around I came to this last hope.
Please help me out........

Thank you verymuch.

DrDoc

3:46 pm on Oct 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

Have you tried using this.focus() in the document opening the window?