The JavaScript Source at https://github.com/prakashm88/geniealert and http://code.google.com/p/geniealert/
Created by: Prakash Mohankumar | http://itechgenie.com/
GenieAlert - Customized Javascript Alert
This product is distributed under the GNU General Public License Version 2 (License.txt)
Release date: 27th March 2011
GenieAlert is a customized Alert alternated for the javascript alert box.
The GenieAlert provides the features to add custom buttons and functions to be called upon click of each. The Title and the alert icon to be disaplyed can also be configured as per the user need.
Note: Note the default alert box of the javascript will be completely overridden by this utility.
USAGE:
1. Include the geniealert.inc.js and style.css in the header.
2. Place all the images in the "images" folder.
3. Arguments for the customized alert, Alert Message, Array of Button names, Array of function names (with the arguments if necessary), Title for the alert window, URL for the image to be show in the alert window.
4. On Calling the default show method without arguments the alert window with default title as "Alert!" and an "information" icon will be shown.
5. Create a Array of Text to be shown in the Alert Box, Create Array of function names to be called when the corresponding buttons are clciked, a Title for the Alert and the URl of the image to be shown inside the alertbox. (Make sure the image is 32px X 32px).
6. Call the function as follows.