Keep popup window in focus - EASY.
Posted on 2004-10-14
I'm sure there is script out there to do this..
I have a page that has a simple link that opens is a new window..
var w = window.open(url,"popupReport","width=460,height=450,resizable=yes");
What I want to do is when the smaller popup window appears it contains info that the user needs to fill out data on the main form so I want it to stay on top all the time until the user closes it.
At the moment if I click the main window the popup goes to the back and this can annoy the user as they have to go and find the window each time.