jGrowl: notifiche non intrusive con jQuery
This entry was posted on December 22nd, 2008 and is filed under jQuery.

jGrowl è un plugin utile per creare facilmente gruppi di messaggi non intrusivi in uno stile simile a quello di jGrowl per Mac OS X. E’ possibile creare messaggi multipli passandogli diversi parametri.
Di seguito il codice necessario per diversi tipi di esempio di funzionamento:
// Sample 1
$.jGrowl("Hello world!");
// Sample 2
$.jGrowl("Stick this!", { sticky: true });
// Sample 3
$.jGrowl("A message with a header", { header: 'Important' });
// Sample 4
$.jGrowl("A message that will live a little longer.", { life: 10000 });
// Sample 5
$.jGrowl("A message with a beforeOpen callback and a different opening animation.", {
beforeClose: function(e,m) {
alert('About to close this notification!');
},
animateOpen: {
height: 'show'
}
});
- Demo: http://stanlemon.net/projects/jgrowl.html#samples
- Download plugin: http://plugins.jquery.com/files/jgrowl-1.1.2.tar.gz
- jQuery Plugin Page: http://plugins.jquery.com/project/jgrowl









