Click to See Complete Forum and Search --> : Auto closing popup


madboy1989
06-21-2009, 07:34 PM
Hello!!!
I need some help with popups.
I need a script which will:
1) Autoopen a webpage (eg: www.google.com, not /listen.html) in an new window,
2) Autoclose that new window after 5 seconds.

Why?
Because i have e webpage with streaming music, but when you visit my webpage you can't listen to my music. I use a free streaming server, and in order to listen from that free server you have to visit his webpage (i guess it stores your ip to some database). If you visit that free servers site and then return to mine, then you can listen to me.
Thank you!!! :p

madboy1989
06-27-2009, 01:00 PM
Any help? Plz guyz, i don't really know how to use html... If it's not something that can be done plz just tell me.
Thank you in advance!!!

Mjolnir2000
06-30-2009, 07:24 PM
Ok, you're probably going to need to make use of the onload event, and the HTML DOM Window object.

You can read up on them at w3schools

himlalpun
07-01-2009, 12:29 AM
try something like this

setTimeout("window.close()",5000);



Cheers,
Himlal Pun
www.sisnolabs.com