Results 1 to 5 of 5
11-03-2003, 07:12 PM #1
I am trying to get a pop up window to load behind all open windows.
On unload I have a pop up open, which is working fine. Problem is if you click on the buy now button the window still comes up and the message is not valid if you are purchasing.
I found a scrip to stop pop up on unload when you click the buy now button but I can not get it to work. So I thought the easy option would be to get the pop up to stay in the back ground out the way.
Can any one help.
11-03-2003, 08:04 PM #2
Hey paulbh, welcome to the forums
To make a pop up window go behind the other windows, or as it is called "pop under", use the pop up code you currently are using but add the below into the head part of your script.
12-03-2003, 12:22 PM #3
I am looking to code a window always on top.
I am looking for the opposite functionality but need to be able to continue loading pages into the pop-up window if it is not closed. I can get the page to stay on top by using
<BODY onBlur="focus()"> or <BODY onBlur="focus()">
Originally Posted by Dave
12-03-2003, 12:58 PM #4
You can access child windows fine by referring to them as their child-name , eg opening the window like this -
http://www.ahfb2000.com/webmaster_he...t=close+windowIf one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
12-03-2003, 01:15 PM #5
Thanks for the quick reply I'll have to try that - in the meanwhile I found a fix that is easy and seems to work so I will share it here. All I did was add MyWindow.focus(top) right into the link and it allows me to keep dumping new pages into the already opened window until I close it.
<a onClick="MyWindow=window.open('filename.htm','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=1,resizable=no,width=500,height=385'); MyWindow.focus(top); return false;" href="filename.htm">
Originally Posted by QuietDean