1. include ulak.css 2. include ulak.js after jquery 3. execute! you can find demo's codes under the options section.
ulak({ "text" : "an error occured", // what notification will say? "type" : "error", // error, warning, success, info "timeout" : 2000, // (not required default is 3000) "modal" : false // (not required default is false) });
error:
ulak({"text":"an error occured","type":"error","timeout" : 2000});
warning:
ulak({"text":"you have got so many spam mails.","type":"warning","timeout":2000});
success:
ulak({"text":"successfully updated!","type":"success","timeout":2000});
info:
ulak({"text":"this feature will come soon...","type":"info","timeout":2000});
next version will come with modal window confirm box. btw : you can use modal for all notification types now too!
ulak means messenger in Turkish.