Monday, 19 November 2012

implement Facebook notifications code using Jquery

// siddhu vydyabhushana // 6 comments

Hi as per many requets am going to post the facebook Notifications Code .In facebook when any one requested or accepted u can observe notification .. so now am going to show how the code was implemented.

Lets Start..!



Download Files here



CSS CODE FOR NOTIFY.CSS
.sNotify_message {
width: 250px;
padding: 20px;
background-color: #eee;
left: 100px;
bottom: 50px;
margin-bottom: 20px;
min-height:50px;
border: 1px solid #333;
border-radius:3px;
}
PHP CODE FOR NOTIFICATIONS.PHP
<html>
<head>
<title> Document</title>
<script type="text/javascript" src="jquery-1.4.1.min.js"></script>
<script src="Notify.js" type="text/javascript"></script>
<link href="Notify.css" rel="stylesheet" />
</head>

<body>

<script type='text/javascript'>
function siddhu()
{
sNotify.addToQueue('notification message as fb');
sNotify.alterNotifications('chat_msg');

}
</script>


<input type='submit' value='display notification' name='subnit' onclick='return siddhu()'>
</body>
</html>


6 comments:

  1. We manufacture quality WordPress subjects and modules. To checkout our different items, please observe on our site twilio woocommerce sms plugin

    ReplyDelete
  2. We are offering website service or website Design in affordable price......

    plugin wordpress

    ReplyDelete