What is this jmNotify?
jmNotify is a small, light and powerful jQuery Plugin to create notifications.
Usage
/* bind click on send button */
$("#sendButton").bind("click", function(){
$("#successMessage").jmNotify();
});
Requirements
• jQuery 1.4+
• jmNotify.js
Compatibility
• Mozilla Firefox
• Google Chrome
• Safari
• Opera
• IE 7+ (IE6 isn't a browser)
Options
-
Key
Default
Description
-
methodIn
fadeIn
The transition when the notify comes in. Can be set to "fadeIn", "show" or "slideDown".
-
methodOut
fadeOut
The transition when the notify comes out. Can be set to "fadeOut", "hide" or "slideUp".
-
speedIn
normal
The speed when the notify comes in. Can be set to "slow", "normal", "fast" or milliseconds(eg. 1000).
-
speedOut
normal
The speed when the notify comes out. Can be set to "slow", "normal", "fast" or milliseconds(eg. 1000).
-
delay
3000
The waiting time before the notification disappears.
-
html
null
A personal html that overwrites the current notification content.
-
onStart
null
A callback function called before the notification comes in.
-
onClose
null
A callback function called after the notification comes out.
-
closeButton
jm-close
The classname of the close selector.
-
closeText
null
Close selector text.
Comments & Support
ChangeLog
05 Aug 2011 - v1.0 - Released