Apprise - attractive alert alternative for jQuery

Apprise is the new and improved attractive alert alternative for jQuery. And the options can be changed to suit your requirements easily.

var settings = {
	animation: 700,	// Animation speed
	buttons: {
		confirm: {
			action: function() { $me.dissapear(); }, // Callback function
			className: null, // Custom class name(s)
			id: 'confirm', // Element ID
			text: 'Ok', // Button text
		}
	},
	input: false, // input dialog
	override: true, // Override browser navigation while Apprise is visible
};

This alert alternative plugin will display anything you pass to it, including html.

You'll notice that the buttons are completely customizable and can easily be altered using your own CSS rules. The override property is what keeps the browser from navigating away from the page while an Apprise is open. Changing this to false will disable that functionality.

 

w10schools
2014-01-03 01:41:49
Comments
Leave a Comment

Please login to continue.