Freeow基于jQuery的信息通知插件

时间:2014-02-12所属栏目: tooltips 来源: 未知 点击:次

  • 大小:0.03 MB
  • 下载次数:
  • 发布时间:2014-02-12
  • 兼容性:Win2003,WinXP,Win2000,Win9X
  • 点击下载 查看演示

内容介绍

Freeow! 一款基于jquery的信息警示或提示的插件 。您可以自定义的Freeow的外观和动画 !每次出现一个消息框,你可以改变其它选项,例如消息框是否自动隐身等。

调用方式

// Simple
$("#freeow").freeow("My Title", "Here's a message");

// With options
$("#freeow").freeow("Another Title", "One more message", {
    classes: ["gray", "error"],
    autoHide: false
});

相关参数

Property Type Description Default
autoHide bool If true (the default), the message box will dismiss after autoHideDelay unless the user hovers over the message. true
autoHideDelay int Time in milliseconds the message box will display before auto hidding. 3000
classes array Array of CSS class names to apply to the message box. []
startStyle object or null Object of styles (for .css() or .animate()) to set the style for the message box before it is shown. If null, hideStyle is used. null
showStyle object Object of styles (for .css() or .animate()) to set the style for the message when it is visible. {opacity: 1.0}
showDuration int Time in milliseconds to animate from startStyle to showStyle. 250
hideStyle object Object of styles (for .css() or .animate()) to set the style for the message when it is hidden. {opacity: 0.0}
hideDuration int Time in milliseconds to animate from showStyle to hideStyle. 500

Function Options

Property Arguments Returns Description
onClick event   Event handler bound to the click event of the message box. The default onClick function calls the Freeow instance's hide() method.
onHover event   Event handler bound to the hover event of the message box. The default onHover function calls disables auto hiding.
template title, message DOM element Function used to construct the message box. The function should accept two string arguments: the title and message. It should return a DOM element.
下载说明

☉如果您发现本文件已经失效不能下载,请联系站长修正!
☉如果您下载的文件出现解压不了或文件受损等情况,请选择其他下载点重新下载。
☉下载本站资源,如果服务器暂不能下载请过一段时间重试!
☉有小部分资源需要解压密码,请输入:261z.com。
☉本站提供的所有资源仅供学习研究与参考,请勿用于商业用途。

下载地址

  • 上一篇:没有了
  • 下一篇:没有了
相关文章
评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)