jQuery.msgBox is a plug-in to make smarter displaying messages. Also usage of the plug-in is so easy. You just need to add following files to your page as shown below and the images named 'alert.png', 'confirm.png', 'error.png', 'info.png', 'msgBoxBackGround.png' used by plug-in to 'Images' folder in the root directory.
See how to use at http://dotctor.github.io/jQuery.msgBox/
Currently, this code is **not maintained**.
Alternatives such as bootstrap are recommended.
See http://getbootstrap.com/javascript/#modals for modals in bootstrap.
Nevertheless, we welcome pull requests.