Steve at Slayeroffice has posted another nifty example:
Custom Alerts displays alerts using a custom look rather than
the default window.alert() method's appearance.
The tricky bit is that he accomplishes this by overriding the default window.alert method, so any alerts on the page
will appear with the custom look. The other tricky bit is that the alert is actually within a giant DIV that covers the
entire window to simulate a modal window. Definitely not something you need every day, but I do like to see
JavaScript's limits pushed.








1. i want a list of all the common error messages & warning messages for web development with proper sentext,proper sign(icon).
like on login failer message:
'Please enter a correct login name'
appear in alert dialog or in a new page.
Posted at 5:49AM on Dec 19th 2005 by imran