View Single Post
Old 02-15-2004, 07:00 PM   #1 (permalink)
DJ-Craig
Junior Member
 
Join Date: 01-28-04
Location: United Kingdom
Posts: 13
iTrader: 0 / 0%
Latest Blog:
None

DJ-Craig is liked by many
Code To Automatically Close Browser Window

Hi, im looking for a piece of code that would automatically shut a browser window. The situation is this, I am running a winamp shoutcast server on my pc which is not where my website is hosted. My hosting plan does not allow subdomains so I made a redirect page which will redirect from a .html on my domain, directly to the shoutcast stream, so if you type www.dj-craig.co.uk/radio.htm you would be redirected to http://cr41g.no-ip.com:8000/listen.pls (not online 24/7) which is a lot easier than typing the no-ip address into the browser. The only thing is when using the redirect page I am left with an empty browser window when the winamp stream loads. Therefore I am looking for a piece of code which will close the browser window automatically after the redirect has taken place. Any help is appreciated thanks.
DJ-Craig is offline   Reply With Quote