简体   繁体   中英

Parent window visibility on child popup

I have this problem when opening a new child window in IE8 in Windows7, but reported on any IE version and Windows environment. Below are the steps to recreate issue:

  1. Ok so first I open Windows Notepad application.

  2. Then I open a new browser that loads a Java Applet. So now the Notepad application is in back of this new browser window.

  3. From the Applet I use Javascript which opens a new child window using the usual "window.open(...)".

Problem is that when child window is opened, the Notepad window places itself on top of the parent Java Applet window.

Why does that behavior occur? I mean is there a way to prevent that from happening? Using Javascript maybe? I have no control of the Notepad application, so not sure how to fix this.

Thanks in advance!!!

只是想提一下,使用Javascript设置焦点对我来说很有效。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM