Search…

X3 Photo Gallery Support Forums

Search…
 
reomikey
Topic Author
Posts: 1
Joined: 06 Mar 2008, 17:00

***POP WINDOW ALWAYS ON TOP***

06 Mar 2008, 17:19

Ok, I searched the entire forum, but can not find anything on this subject, and I am kind of surprised that no has brought this up.

I realized that when the pop up window comes up with the resizing window, that if someone accidentally clicks outside the box the box with the images gets lost behind the current browser window. Now, assuming that not all my visitors are internet savvy and can't figure out all they have to do is click on the browser tab at the top or bottom; how can I keep this window on top of my current browser window, so the only way it disappears is by the en-user clicking the "x" to close the window?

So in short:

1) What html or php file would I manipulate to add the required code to keep the window "ALWAYS ON TOP"?

2) And finally what would that code be?

Thank you very very much

Mike :?: :!:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

09 Mar 2008, 00:45

I hear what you are saying, and what you describe will most likely happen to some users now and then. I do however consider an "always on top" setting to be intrusive on the user. The user is normally in control of stacking of all browser windows(and all windows in general), and having a window forced on top may compromise the user somewhat.

I did some research and found these links:
http://forums.devshed.com/html-programm ... p-871.html
www.yourhtmlsource.com/javascript/popupwindows.html

You can do javascript modifications to the file "pop.php". Another less intrusive option may be to set the popup window to close when it looses focus?