![]() |
| New Window |
|
jamie
HostMySite Sales Rep
![]()
|
If using code that opens a new pop-up window on a website, is there a way to force that popup to stay in front of the current window, even when the original window is clicked on again?
If not, can anyone tell me what is used to make 'floating windows' that accomplish this? And how to get their position to stay fixed relative to the browser window (i.e. when you scroll the window stays in the same place) |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
put this in the HEAD section of your page:
that will keep the window on top... and the second line will keep the window in the same place. However, this only occurs when the window is loaded. Im not sure how to just get it to stay on top all the time so to speak. |
||||||||||||||
|
|
|||||||||||||||
|
bobclingan
Forum Regular
|
Jamie,
You can check out the javascript function showModalDialog() I believe this does what you want. --Bob |
||||||||||||
|
|
|||||||||||||
|
neon
|
Also <body onload="self.focus()>
|
||||||||||||
|
|
|||||||||||||
| New Window |
|
||
|



