Auto Close an Alert Message

R

Raffi

Hi,

Is there a way to close an alert box without user interaction? I need
to display a message that will go away on it's own once a process is
complete or if the user choses to click "OK". I could use popups but
since the message is generated within the code, it would be subject to
popup blockers. The scripts are php/javascript. Different approaches
for addressing the above are welcome.

Thanks,
Raffi
 
A

ASM

Raffi said:
Hi,

Is there a way to close an alert box without user interaction?
no

I need
to display a message that will go away on it's own once a process is
complete or if the user choses to click "OK". I could use popups but
since the message is generated within the code, it would be subject to
popup blockers.

you can also use a layer (only displayed if message)

http://www.theopensourcery.com/jspopwin1.htm
 
J

Joakim Braun

Raffi said:
Hi,

Is there a way to close an alert box without user interaction? I need
No.

to display a message that will go away on it's own once a process is
complete or if the user choses to click "OK". I could use popups but
since the message is generated within the code, it would be subject to
popup blockers. The scripts are php/javascript. Different approaches
for addressing the above are welcome.

A floating <div> with the alert message that's displayed/hidden as needed.
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top