Simple plugin (basically it's not a plugin, but widget) to show notify bar (like on Twitter's webpage). It's very simple to use:
$(function () {
$.notifyBar({
html: "Thank you, your settings were updated!",
delay: 2000,
animationSpeed: "normal"
});
});
and to your html page stylesheet:
<link rel="stylesheet" href="jquery.notifyBar.css" type="text/css" media="screen" />
Parameter | Description | Type | Default |
---|---|---|---|
html | What text will be inside bar, can be HTML | String [optional] | "Your message here" |
delay | How long bar will be delayed, doesn't count animation time. | Integer [optional] | 2000 |
animationSpeed | How long this bar will be slided up and down | String | Integer [optional] | "normal" |
jqObject | Own jquery object for notify bar | jQuery object [optional] | null |
cls | You can set own CSS class for 'Notify bar'. There is too premade clasess "error" and "success" | String | |
close | If set to true close button will be displayed | Boolean | false |
Usually this bar appears on the success message, but anyway can be used everywhere.
Try it! ↓