jpillora / notifyjs

Notify.js - A simple, versatile notification library
https://notifyjs.jpillora.com/
MIT License
1.91k stars 741 forks source link

How to get notification to appear on page load #33

Closed misner closed 8 years ago

misner commented 9 years ago

I'm a newbie and started using notifyjs on a bootstrap " website.

I'd like to make a simple notication appear on load of the page (so not afetr the user does or triggers sth).

I've just added this so far $.notify("I'm over here !");

but how can tell notify to appear on page load?

Thanks for any help M.

Demnogonis commented 9 years ago

Just add it in your document.ready

$(document).ready(function(){
    $.notify("I'm over here !");
    /* Other Code */
});
EvanCarroll commented 8 years ago

@misner closing this issue out. Thanks for helping out @Demnogonis consider reviewing some of our issues and joining us!