// Notify examples
var notes = $('#notes').notify({
removeIcon: ''
});
$('.add-noti').on('click', function() {
notes.show("I'm a notification I will quickly alert you as well!", {
title: 'Hello',
});
});
$('.add-success-noti').on('click', function() {
notes.show("I'm a notification I will quickly alert you as well!", {
type: 'success',
title: 'Hello',
icon: ''
});
});
$('.add-info-noti').on('click', function() {
notes.show("I'm a notification I will quickly alert you as well!", {
type: 'info',
title: 'Hello',
icon: ''
});
});
$('.add-warning-noti').on('click', function() {
notes.show("I'm a notification I will quickly alert you as well!", {
type: 'warning',
title: 'Hello',
icon: ''
});
});
$('.add-danger-noti').on('click', function() {
notes.show("I'm a notification I will quickly alert you as well!", {
type: 'danger',
title: 'Hello',
icon: ''
});
});
$('.add-sticky-noti').on('click', function() {
notes.show("I'm a notification I will quickly alert you as well!", {
title: 'Hello',
icon: '',
sticky: true
});
});
/*************************
*************************
*************************
*************************
Fixed on Top
*************************
*************************
*************************
*************************/
var messages = $('#messages').notify({
type: 'messages',
removeIcon: ''
});
$('.add-message').on('click', function() {
messages.show("I'm a message and I will quickly alert you", {
title: 'Hello,',
});
});
$('.add-success-message').on('click', function() {
messages.show("I'm a message and I will quickly alert you", {
type: 'success',
title: 'Hello,',
icon: ''
});
});
$('.add-info-message').on('click', function() {
messages.show("I'm a message and I will quickly alert you", {
type: 'info',
title: 'Hello,',
icon: ''
});
});
$('.add-warning-message').on('click', function() {
messages.show("I'm a message and I will quickly alert you", {
type: 'warning',
title: 'Hello,',
icon: ''
});
});
$('.add-danger-message').on('click', function() {
messages.show("I'm a message and I will quickly alert you", {
type: 'danger',
title: 'Hello,',
icon: ''
});
});
$('.add-sticky-message').on('click', function() {
messages.show("I'm a message and I will quickly alert you", {
title: 'Hello,',
sticky: true
});
});