Results 1 to 6 of 6
Related
-
multiple files loading to one pop window; closing pop-up windows Forum: Javascript Forum
Replies: 5 -
Launching a WebSite Forum: Barter/Trade
Replies: 1
-
04-18-2002, 10:06 AM #1
automatically closing and launching files
What is the code to automatically close a window and automatically open another window?
-
04-18-2002, 06:27 PM #2
you know the 'search' tool for the forums can be pretty nifty at times.
-
04-18-2002, 08:24 PM #3
Derek, can you tell us the thread this was discussed in,personally I do not recall this issue before.
Dave
-
04-18-2002, 10:29 PM #4
http://www.ahfb2000.com/webmaster_he...5&pagenumber=1
Kinda discusses it guess it isn't exact though more like open and close rather than close and open...
thanks for the silent chastisement Davewasn't exactly in the best mood when I answered this, sorry heddle.
The code is this:
Code:<html> <head> <script language="javascript"> <!-- function openwindow() { newWindow = window.open("blah.html","def","height=300,width=300") } function closewindow() { window.close() } --> </script> </head> <body onload="closewindow()" onunload="openwindow()"> </body> </html>
-
04-18-2002, 10:45 PM #5thanks for the silent chastisement Dave wasn't exactly in the best mood when I answered this, sorry heddle.
I read every post(even when you folks lose me
) and just did not remember it, therefore I was not sure if "search" would have helped at all.
...back to my corner
Dave
-
04-18-2002, 11:06 PM #6
haha well I probably would not have remembered it either except for the fact that writing that little code took some time to think and work through to get it to work (hence is why I'm pretty good with pop-ups now
). So that one came head first into my mind and I thought I had covered is close enough. But in reality I didn't really(unless he knows somewhat was he's donig with javascript), so it was good I posted it here.
Last edited by Derek; 04-19-2002 at 12:14 AM.