Pop Up Alert

F

Fred Atkinson

I want to set a pop up window on my Web site. It will pop up
when my Web page is opened and only be open for ten to twenty seconds
then close.

Can someone point me to a Web page that shows the code for
this?


Fred
 
H

Hywel Jenkins

I want to set a pop up window on my Web site. It will pop up
when my Web page is opened and only be open for ten to twenty seconds
then close.

Can someone point me to a Web page that shows the code for
this?

Do a google for "javascript window.open" and "javascript window.close".
Beware that modern browsers block pop-ups automatically, so many people
won't see you window.
 
N

Neredbojias

With neither quill nor qualm, Fred Atkinson quothed:
I want to set a pop up window on my Web site. It will pop up
when my Web page is opened and only be open for ten to twenty seconds
then close.

Can someone point me to a Web page that shows the code for
this?


Fred

Why, are you trying to piss-off your js-enabled visitors?
 
F

Fred Atkinson

Why, are you trying to piss-off your js-enabled visitors?

I'm not. I'm only trying to annoy airheads.



Fred
 
N

Neredbojias

With neither quill nor qualm, Fred Atkinson quothed:
I'm not. I'm only trying to annoy airheads.

Oh. In that case, go ahead.


If you don't find the code after tomorrow, I'll write it for you. It's
basically...

var xxx=window.open(....)
setTimeout("xxx.close()",15000);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top