File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes popup window as alway on the top Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "popup window as alway on the top" Watch "popup window as alway on the top" New topic

popup window as alway on the top

Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
hi all..
i want to show popup window, but this popup window should be displayed as : (always on the top),,how can i do that???
Subhadip Chatterjee
Ranch Hand

Joined: Dec 12, 2006
Posts: 93
Hi there,
if you are writing the pop-up like this:
var handler ="popup.html");
then the following code, will put the focus on pop-up, whuch means pop-up will always be displayed on top every-time, you are creating.


That's it.

Refreshing life every moment...
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You can look into modal windows.

Marc Luzietti
Ranch Hand

Joined: Feb 02, 2006
Posts: 84
Most modern browsers won't let you do this easily or completely. There are ways around every modal window approach I've found, assuming you aren't trying to take over the desktop. Unless you're trying to create a remote, you may be better off using AJAX to create a "pop-in."

See my previous post related to this
[ March 07, 2007: Message edited by: Marc Luzietti ]

Support Kathy Sierra
I agree. Here's the link:
subject: popup window as alway on the top
It's not a secret anymore!