jGrowl 制作消息弹出框

效果如下:

 

主页:http://stanlemon.net/projects/jgrowl.html

下载:http://plugins.jquery.com/files/jgrowl-1.1.2.tar.gz

示例:http://stanlemon.net/projects/jgrowl.html

 

Example Usage and Samples:

// 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'
    }
});
posted @ 2011-10-13 10:16  ishibin  阅读(830)  评论(0编辑  收藏  举报