I\'m using the following code to send push notifications to the user...
document.triggerNotification = function (type, message) {
jQuery(document.body).a
I think jQuery can't read external stylesheets, so you have to give the div a style attribute or you change it with jQuery like this:
document.triggerNotification = function (type, message) {
jQuery(document.body).append("");
jQuery('#notification').css({
right: '20px',
bottom: '20px'
}).show().fadeOut(1200, function () {
jQuery(this).remove();
});
}