Large

Nice alert

By NV Last update Sep 28, 2010 — Installed 1,682 times.

Feature Request: Handle lots of alerts

in
Subscribe to Feature Request: Handle lots of alerts 2 posts, 2 voices



joeytwiddle Scriptwright
FirefoxX11

What if a site or a script is sending you 100 alert messages?

Last time I checked this script would create 100 yellow divs in the top-right of the page.

It would be better if a div is already showing, just to add the new messages to the bottom. Then the div may need a scrollbar (overflow=auto).

After a line has been visible for N seconds, it could be removed from the top of the div.

 
NV Script's Author
FirefoxMacintosh

Thanks for the tip. Scrollbar will be useful.

Also, you can contribute to the script. Just fork it from http://github.com/NV/nice-alert.js/ and change what ever you want.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel