in , ,

How to create facebook like notification with sNotify

Advertisement

Have you ever noticed the notification system of Facebook in which the message pops at the left lower corner of the window for recent comment. This kind of notification is nice and looks good. Do you want to know how you can create this for your website? Jquery is the best option for this.

But this does not mean that you will have to code every thing. There is a popular notification script sNotify which can help you a lot. You only need to integrate the script in your code to display messages.

See the demo here:

Advertisement

How to use this script:

Download the script from here.

Now add the following code in the <head&gt

<link href=’css/sNotify.css’ rel=’stylesheet’ type=’text/css’ />
<script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js’></script>
<script src=”js/sNotify.js” type=”text/javascript”></script>

Use the following Javascript code to display a message:

<script type=’text/javascript’>
sNotify.addToQueue(“You can add your message here.”);
</script>

This will show the notificaion. You can also add some other notification with addToQueue() method

Read More about the script here:

Advertisement

Written by Deepanker

Deepanker Verma is the founder of Techlomedia. He is a tech blogger, developer and gadget freak.

2 Comments

Leave a Reply
  1. You really make it appear really easy with your presentation however I in finding this topic to be really something that I believe I’d by no means understand. It seems too complicated and extremely wide for me. I am taking a look ahead for your subsequent post, I will try to get the cling of it!

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading…

How to Create a Beautiful Feedback Form With Jquery

Create Beautiful Dialog Box with jQuery and Css3