Lunarpages Web Hosting Forum

Author Topic: Open window  (Read 1029 times)

Offline cooleo100d

  • Intergalactic Superstar
  • *****
  • Posts: 154
    • GamesCool
Open window
« on: September 17, 2004, 08:47:35 PM »
Hi,

I have a window that will be closed by a user.  When that window is closed, I want a little tiny window to open, delete a temporary file, and close.  I know how to do the deleting the temporary file and closing the little window part, but I don't know how to check to see if the big window was closed, and open the little window.  How do I go about doing this?

EDIT: I forgot the most important part.  I know it is easy to do with a "Close Link", but I need it to work when a user clicks the little x to close it.  Also, this should not be extreamly dificult because the user can not go to another url in that window because there is no address bar, no file menu or anything.

Thanks,
~David

Offline Amy

  • Administrator
  • Berserker Poster
  • *****
  • Posts: 10081
Open window
« Reply #1 on: September 18, 2004, 01:06:13 PM »
Quote

no address bar, no file menu or anything


There is, even if you switched them off :)

Offline cooleo100d

  • Intergalactic Superstar
  • *****
  • Posts: 154
    • GamesCool
Hi
« Reply #2 on: September 18, 2004, 01:16:55 PM »
No.  What are you talking about?

stephan

  • Guest
Open window
« Reply #3 on: September 19, 2004, 06:56:27 AM »
Try this link: http://javascript.internet.com/generators/popup-window.html


Be aware however, that most modern browsers block popup windows nowdays, including Internet Explorer if you have service pack 2 for XP.

Offline cooleo100d

  • Intergalactic Superstar
  • *****
  • Posts: 154
    • GamesCool
Hi
« Reply #4 on: September 19, 2004, 07:45:36 AM »
Hi,

Thats good to generate the popup windows, but it doesn't have anything that will tell you how to open a new window when one is closed.

Thanks,
~David

Offline GirlGamerJae

  • Galactic Royalty
  • *****
  • Posts: 358
Re: Open window
« Reply #5 on: September 19, 2004, 08:12:21 AM »
Quote from: cooleo100d

EDIT: I forgot the most important part.  I know it is easy to do with a "Close Link", but I need it to work when a user clicks the little x to close it.  Also, this should not be extreamly dificult because the user can not go to another url in that window because there is no address bar, no file menu or anything.

Thanks,
~David


People can get around the no address bar and file menu by pressing F11.
"Music washes away from the soul the dust of everyday life."
-quote from Berthold Auerbach, Author

Offline cooleo100d

  • Intergalactic Superstar
  • *****
  • Posts: 154
    • GamesCool
Hi
« Reply #6 on: September 19, 2004, 08:14:11 AM »
Someone told me that I can just use the onUnload property in my framset.  I thinkt hat will work good.