/ Published in: jQuery
I tried to create a little jQuery method to notify events to the user just as in facebook.
EXAMPLE: http://claudiobonifazi.com/snippets/fb_like_notifications/
1- Link this little plugin to your page (or paste it into your files as you wish)
2- add to your page an empty element (a div or similar) and on page load call $('thatdiv').setPopup()
3- Set that element to position:fixed and position it where you like (in this page it has left:50px and bottom:50px)
4- Whenever an event requires the appearing of one of those little popups, do $('thatdiv').callPopup('html content to place inside it')
5- For styling read the demo page's source as a guideline
EXAMPLE: http://claudiobonifazi.com/snippets/fb_like_notifications/
1- Link this little plugin to your page (or paste it into your files as you wish)
2- add to your page an empty element (a div or similar) and on page load call $('thatdiv').setPopup()
3- Set that element to position:fixed and position it where you like (in this page it has left:50px and bottom:50px)
4- Whenever an event requires the appearing of one of those little popups, do $('thatdiv').callPopup('html content to place inside it')
5- For styling read the demo page's source as a guideline
URL: http://claudiobonifazi.com/snippets/fb_like_notifications