Layout: Make a small window "float" on top a bigstarted by Preslinc on Aug 28, 2004 — RSS Feed
Can anyone help me with a solution…?
The situation is, I have big page and a small page that must appear onscreen at the same time. Trouble is, when the big screen is active, it covers up the small screen.
What I need is a way to keep the small screen ON TOP of the big screen, so that the user can position it wherever s/he wants -- and so that, when the big screen is active, it doesn't cover up the small screen.
I offer abundant and sincere gratitude to whoever can solve my little problem.
There is no way to keep a small window in front all the time, the one that has the 'focus' will always be in front.
Here is a script that opens a new window in front of a bigger one
var w = window.open("http://www.anysite.com/smallwindow.html","toolbar=no,width=420,height=410,directories=no,status=no,scrollbars=no,resize=no,menubar=no,history=no"
This action could be stopped by popup blockers.
This could be included as a draggable element of the one page - ie a sort of 'fake' pop-up window, but which behaves much like a real one. I'm not sure how you would do this without using Flash, but I think there are ways? Correct me if I'm wrong.
You COULD do it using Flash, although I would generally recommned against it.
You could open a new window in Javascrript and attempt to keep it focused.
Use a modeless dialogue window:
You must login to reply