【发布时间】:2010-09-17 03:09:56
【问题描述】:
什么是最好的 jQuery 状态消息插件?
我喜欢jGrowl 和Purr,但jGrowl 没有保持粘性(不会自动关闭)的功能,而且Purr 在IE 6 中似乎无法正常工作。
我想显示如下消息:网站即将停机进行维护,您的某某工作已完成,诸如此类。
【问题讨论】:
标签: javascript jquery plugins jquery-plugins user-interface
什么是最好的 jQuery 状态消息插件?
我喜欢jGrowl 和Purr,但jGrowl 没有保持粘性(不会自动关闭)的功能,而且Purr 在IE 6 中似乎无法正常工作。
我想显示如下消息:网站即将停机进行维护,您的某某工作已完成,诸如此类。
【问题讨论】:
标签: javascript jquery plugins jquery-plugins user-interface
几个选项...
【讨论】:
jGrowl 看起来确实有粘性 - 请参阅演示页面中的示例 2:
https://github.com/stanlemon/jGrowl
...啊 - 或者您的意思是在页面重新加载之后?
然后我将在服务器端处理此问题 - 即包含一个 sitedown.js,每次访问任何页面时都会触发咆哮通知。
【讨论】:
我真的很喜欢这个humanmessage 插件。您可以自定义它以延长逗留时间并更改外观等 -
【讨论】:
按照我的喜好排列
通知http://needim.github.com/noty/ 6kb |需要 jQuery | Github
Humane-JS https://github.com/wavded/humane-js | Demo | GitHub
JQuery UI Growl 通知http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widget/
Pines 通知 http://pinesframework.org/pnotify/ 15KB | SourceForge-Mercurial
SmokeJS https://github.com/jyoungblood/smoke.js | Github
js 消息http://dhtmlx.github.com/message/ 4KB |麻省理工学院 | GitHub
【讨论】:
我们已经开始使用http://boedesign.com/demos/gritter/ 并且不得不说它比其他开箱即用的产品更好地实现了 osx 咆哮的感觉。
【讨论】:
我们发现以下来自 west-wind 的简单代码对我们的项目非常有帮助。
http://www.beyondweblogs.com/post/Display-Fancy-Status-Message-using-JQuery.aspx
【讨论】:
Toastr 是一个不错的选择。使用简单,是积极开发的项目。
它具有 top-full-width 和 bottom-full-width 选项,无需使用任何其他 js 文件。
回购:https://github.com/CodeSeven/toastr
演示:http://codeseven.github.io/toastr/
Pnotify 是一个非常详细且易于使用的插件。它有太多看起来很有趣的选项,并且有一个非常有用的演示页面。
回购:https://github.com/sciactive/pnotify
演示:http://pinesframework.org/pnotify/#demos-simple
【讨论】:
这是一个 Outlook 弹出式通知 jQuery 小部件:
【讨论】:
这里有一条非常不错的人性化消息:http://www.websanova.com/plugins/humanmsg/jquery#websanova
【讨论】: