Guest christophemc@gmail.com Posted January 29, 2007 Share Posted January 29, 2007 Hi, does anyone know how to bring a window/popup to front? I would also like to have it stay/continue running allowing you to interact behind, example type some text on document while another window is on top? Thanks Link to comment Share on other sites More sharing options...
jesh Posted January 29, 2007 Share Posted January 29, 2007 To bring a window to the front, you can set its focus: window.focus() It is not, however, possible to have a popup window remain on top while the user interacts with the window behind it. The only way you can make something like this happen is if you use a div within the main window and set it's z-index to be bigger than the other elements on the page so that it looks like a window that is floating above all the rest of the content. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now