Pop-up stay on top

  • Thread starter Thread starter Dan Pavel
  • Start date Start date
D

Dan Pavel

Hi,

I am trying to make a pop-up window with some dynamic data that needs to
stay on top. It is opened from a web application. I managed to do it to
stay on top, inserting onblur="self.focus()" in body tag. My problem is
that when the pop-up window is up, I can't make anything on the parent
window (web application). It is there a way to have the pop-up windows
allways on top and have control on the page under the pop-up without
losing the "stay on top" ?

Thank you
 
Dan Pavel said:
Hi,

I am trying to make a pop-up window with some dynamic data that needs to
stay on top. It is opened from a web application. I managed to do it to
stay on top, inserting onblur="self.focus()" in body tag. My problem is
that when the pop-up window is up, I can't make anything on the parent
window (web application). It is there a way to have the pop-up windows
allways on top and have control on the page under the pop-up without
losing the "stay on top" ?

Thank you

In IE, you can. Use window.showModelessDialog instead of window.open or
window.showDialog :)

Mythran
 
Eliyahu Goldin said:
Then it won't stay on the top

Eliyahu

???

window.showModelessDialog makes it stay on top. So does
window.showModalDialog. Both force the window to stay on top of the parent
window.

Mythran
 
Ok, good to know, thank you.

Eliyahu

Mythran said:
???

window.showModelessDialog makes it stay on top. So does
window.showModalDialog. Both force the window to stay on top of the parent
window.

Mythran
 
Back
Top