fromearth

jQuery 消息提示/通知插件

常见消息提醒,类似于Chrome notification,易于使用,用户体验赞。

// Simple
$.sticky(\'hi, every body rock!\');

// Advantage
$.sticky({
  icon         : \'img/greet.png\',
  title        : \'Greeting\',
  body         : \'Hello there, I am jquery.sticky \(^o^)/~.\',
  position     : \'top-right\',
  useAnimateCss: true,
  onShown      : function(id){
    console.log(\'shown\', id);
  },
  onHidden     : function(id){
    console.log(\'hidden\', id);
  }
});

批量消息队列管理。

在线演示

源码地址

 

posted on 2014-11-16 10:42  Jericho  阅读(3388)  评论(1编辑  收藏  举报
 

分类:

技术点:

相关文章: