CQ-CSER

计算机爱好者

jGrowl

Posted on | 二月 8, 2010 | No Comments

Growl

jGrowl is a jQuery 插件,工作在浏览器的右上角, 渐出渐入等,就像 the way that OS X’s Growl Framework works.

jGrowl 资源:

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'
    }
});
下面是我的:
<SCRIPT type=text/javascript src="/test/jquery-1.3.2.js"></SCRIPT>

<SCRIPT type=text/javascript src="/test/jquery.jgrowl.js"></SCRIPT>
<LINK rel=stylesheet type=text/css href="/test/jquery.jgrowl.css">
<SCRIPT type=text/javascript>
<!--
var id_info ="还没好好的感受,雪花绽放的气候,我们一起颤抖,会更明白什么是温柔,还没跟你牵着手,走过荒芜的沙丘,可能从此以后学会珍惜,天长和地久....";
PopupjGrowlBoxtime(id_info,16000);
-->
</SCRIPT>

相关文章:

  1. Prototype And jquery
  2. QuickBox
  3. jquery学习笔记4
  4. jQuery插件jmpopups弹出多级窗口
  5. JQuery Tips

评论|Comments

留言|Leave a Reply





  • Archives

  • SUNSHINE

  • About

    本博客采用创作共用版权协议,要求署名、非商业用途和保持一致. 转载本博客内容也遵循“署名-非商业用途-保持一致”的创作共用协议.

    订阅

    Search

    Admin