Notifyplugin
//with parameters sets
$('#notify_btn_1').on('click', function(){
$.Notify({
content: "Metro UI CSS is awesome!!!"
});
});
// alternate with default parameters
$('#notify_btn_1').on('click', function(){
$.Notify.show("Metro UI CSS is awesome!!!");
$.Notify.show("Metro UI CSS is awesome!!!", "Info...");
});
Parameters:
icon |
|
|
caption |
string |
Notify title |
content |
string |
Notify message |
shadow |
boolean |
Show or hide Notify shadow (default: true) |
width |
int |
default 'auto', if value != auto min-width sets |
height |
int |
default 'auto', if value != auto min-height sets |
style |
{background: 'value', color: 'value'} or false |
default false, you can set background and font color |
position |
string |
values: top-right, bottom-right, top-left, bottom-left |
timeout |
int |
milliseconds to hide notify, default 3000 |