Jump to content

Alert that waits for 5 seconds and closes by itself


harshpandya

Recommended Posts

Can't be done. There is no DOM access to an alert. In fact, alert and confirm calls are disappointingly stingy. I'd like to see a whole range of options.You could always design a pseudo-alert using a "floating" div with alert-like controls in it. To get the real effect, you'd want to capture mouseclicks and keydowns everywhere outside the alert. Can be done. If you've never done something like that, the learning curve will be steep, but it is a good project.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...