Submit your widget

Awesome Notification tooltips Menu with jQuery

Created 7 years ago   Views 38452   downloads 6223    Author codebasehero
Awesome Notification tooltips Menu with jQuery
View DemoDownload 579.6 KB
131
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/