Reputation: 4831
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:
Ok so first I open Windows Notepad application.
Then I open a new browser that loads a Java Applet. So now the Notepad application is in back of this new browser window.
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!!!
Upvotes: 0
Views: 292
Reputation: 4831
Just want to mention that setting the focus using Javascript on top worked for me.
Upvotes: 0