Great looking CSS3 notifications in a lightweight script with an easy to use api. Perfect for your next web app
Usage
//Initialize the simple notifications plugin:
//Use default options:
var notifications = $('body').ttwSimpleNotifications();
//Use custom options:
var notifications = $('body').ttwSimpleNotifications({
position:'bottom right',
autoHide:true,
autoHideDelay:3000,
clickCallback:function(){
//some callback function
},
showCallback:null,
hideCallback:null
});
//Call desired plugin methods:
//A simple notification with no options:
notifications.show('codebasehero.com rocks my socks off');
//A notification with html and an icon:
notifications.show({msg:'Make sure to bookmark Codebase Hero and check back often', icon:'images/icon.png'});
//A notification that overrides the default options:
notifications.show({msg:'Don\'t forget to check out my Premium Files', icon:'images/icon.png', autoHide:false});
//Closing a notification programatically::
var thisNotif = notifications.show('Yeah, I know I'm awesome
');
thisNotif.hide();
//Get a handle to the active notifications array:
var actives = notifications.notifications;




Dear sir!!
This archive is corrupt.. kindly check it out…
Thanx
Thanks for the heads up. It’s fixed now.
I get a weird style output. Its bigger and goes under the website’s design…some how…
here’s a small shot of the problem:
I know you probably won’t give support, but isn’t there a chance you could help a bit?! Please?
It is more than likely a css conflict.
how to integrate it in socialengine 4 ?
Sorry. These freebies do not come with any support. The included documentation will help you get it running on a standard webpage and then you will have to extrapolate from there…
thanks for the nice post, I will visit your blog ,thanks for kind efforts and nice sharing
Is there a way to use this in .php??
This is awesome! I tot it was absolutely fantastic.
Im very confuse, im a just learning, show do i activate the message to apear. thanks