Submit your widget

Awesome Notification tooltips Menu with jQuery

Created 12 years ago   Views 27045   downloads 4735    Author codebasehero
Awesome Notification tooltips Menu with jQuery
View DemoDownload
84
Share |

A jQuery plugin to add notification bubbles and a notification list to any menu.

Usage

var notifications = new $.ttwNotificationMenu({
      colors:['#f56c7e', '#fec151', '#7ad2f4']
}); 

//Add bubbles to a menu
notifications.initMenu({
      someCategory:'#menuItemSelector'
}); 

//create a notification notifications.createNotification('Sample Notification'); 

//delete a notification
var notification = notifications.creatNotification('some notification');
notifications.deleteNotifiction(notification); 

//get the notifications in a category
var notificationsInSomeCategory = getNotifications('someCategory', 'unread');

The article source:http://www.codebasehero.com/2011/07/jquery-notification-menu/