<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Gmail/Facebook Style jQuery Chat</title>
	<atom:link href="http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/feed/" rel="self" type="application/rss+xml" />
	<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/</link>
	<description>on web development</description>
	<pubDate>Thu, 17 May 2012 05:42:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ulan</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-10/#comment-37872</link>
		<dc:creator>Ulan</dc:creator>
		<pubDate>Mon, 20 Feb 2012 14:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-37872</guid>
		<description>Thanks for great plugin. Wh you integrate this plugin I suggest to include scripts in header within some condition like "{if userIsOnline}..then include..{/if}". So it is included only if user is online. It does not call db for nothing.

To enable sound when new message is received do followings:

1. Add following lines before function restructureChatBoxes(){

function PlaySound() {
  $('#soundpholder').append('');
}

2. Put following line in function chatHeartBeat after var itemfounds=0; This counter used to count individual message which doesn't count auto messages like "Message sent at 12.12.12 12:12:12"

var indivfound = 0;

3. Find lines

if ($("#chatbox_"+chatboxtitle).css('display') == 'none') {
					$("#chatbox_"+chatboxtitle).css('display','block');
					restructureChatBoxes();
				}
				
				if (item.s == 1) {

put 
indivfound+=1;
inside this if

4. find lines
		chatHeartbeatCount++;

		if (itemsfound &gt; 0) {
			chatHeartbeatTime = minChatHeartbeat;
			chatHeartbeatCount = 1;
			
put

			if (indivfound &gt; 0){
				PlaySound();
			}

inside this if.

If you have questions write here.</description>
		<content:encoded><![CDATA[<p>Thanks for great plugin. Wh you integrate this plugin I suggest to include scripts in header within some condition like &#8220;{if userIsOnline}..then include..{/if}&#8221;. So it is included only if user is online. It does not call db for nothing.</p>
<p>To enable sound when new message is received do followings:</p>
<p>1. Add following lines before function restructureChatBoxes(){</p>
<p>function PlaySound() {<br />
  $(&#8217;#soundpholder&#8217;).append(&#8221;);<br />
}</p>
<p>2. Put following line in function chatHeartBeat after var itemfounds=0; This counter used to count individual message which doesn&#8217;t count auto messages like &#8220;Message sent at 12.12.12 12:12:12&#8243;</p>
<p>var indivfound = 0;</p>
<p>3. Find lines</p>
<p>if ($(&#8221;#chatbox_&#8221;+chatboxtitle).css(&#8217;display&#8217;) == &#8216;none&#8217;) {<br />
					$(&#8221;#chatbox_&#8221;+chatboxtitle).css(&#8217;display&#8217;,'block&#8217;);<br />
					restructureChatBoxes();<br />
				}</p>
<p>				if (item.s == 1) {</p>
<p>put<br />
indivfound+=1;<br />
inside this if</p>
<p>4. find lines<br />
		chatHeartbeatCount++;</p>
<p>		if (itemsfound &gt; 0) {<br />
			chatHeartbeatTime = minChatHeartbeat;<br />
			chatHeartbeatCount = 1;</p>
<p>put</p>
<p>			if (indivfound &gt; 0){<br />
				PlaySound();<br />
			}</p>
<p>inside this if.</p>
<p>If you have questions write here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zeal</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-10/#comment-37622</link>
		<dc:creator>zeal</dc:creator>
		<pubDate>Sat, 18 Feb 2012 09:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-37622</guid>
		<description>Thank you... work like a charm. Easily understand code and logic. Save a lot of my time.</description>
		<content:encoded><![CDATA[<p>Thank you&#8230; work like a charm. Easily understand code and logic. Save a lot of my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yorum</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-10/#comment-37264</link>
		<dc:creator>yorum</dc:creator>
		<pubDate>Wed, 15 Feb 2012 14:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-37264</guid>
		<description>perfect :)</description>
		<content:encoded><![CDATA[<p>perfect <img src='http://anantgarg.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari Kishore</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-10/#comment-36277</link>
		<dc:creator>Hari Kishore</dc:creator>
		<pubDate>Wed, 08 Feb 2012 07:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-36277</guid>
		<description>I have implemented chat functionality at my server. I faced some issue like as
1)Some times it shows message multiple times but not continues.
2)Message not delivered properly when try to chat multiple friends at same time.

can any one help me???</description>
		<content:encoded><![CDATA[<p>I have implemented chat functionality at my server. I faced some issue like as<br />
1)Some times it shows message multiple times but not continues.<br />
2)Message not delivered properly when try to chat multiple friends at same time.</p>
<p>can any one help me???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karan</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-10/#comment-35978</link>
		<dc:creator>karan</dc:creator>
		<pubDate>Mon, 06 Feb 2012 06:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-35978</guid>
		<description>how to use this chat box in asp.net.. plz give me the code of the chat php in asp.net</description>
		<content:encoded><![CDATA[<p>how to use this chat box in asp.net.. plz give me the code of the chat php in asp.net</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Dresslar</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-10/#comment-35793</link>
		<dc:creator>Mike Dresslar</dc:creator>
		<pubDate>Sat, 04 Feb 2012 18:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-35793</guid>
		<description>This i could get this to work with ColdFusion</description>
		<content:encoded><![CDATA[<p>This i could get this to work with ColdFusion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tatak bumi agung</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-9/#comment-35775</link>
		<dc:creator>tatak bumi agung</dc:creator>
		<pubDate>Sat, 04 Feb 2012 15:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-35775</guid>
		<description>good job 
thanks...</description>
		<content:encoded><![CDATA[<p>good job<br />
thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kran</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-9/#comment-35261</link>
		<dc:creator>kran</dc:creator>
		<pubDate>Tue, 31 Jan 2012 17:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-35261</guid>
		<description>i got it,is it work in asp.net..</description>
		<content:encoded><![CDATA[<p>i got it,is it work in asp.net..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Priyanka</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-9/#comment-32284</link>
		<dc:creator>Priyanka</dc:creator>
		<pubDate>Mon, 09 Jan 2012 17:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-32284</guid>
		<description>Hey , it is awesome.. but i have few problems. 
1) it is not connecting wit my database (sql server)
2) i have another jquery that gives me a contacts bar wit chat button in it using repeater so when i use this with that code.
the repeater gets demented. like the  tag inside repeater changes size. why is it?

Thanks in advance
Regards</description>
		<content:encoded><![CDATA[<p>Hey , it is awesome.. but i have few problems.<br />
1) it is not connecting wit my database (sql server)<br />
2) i have another jquery that gives me a contacts bar wit chat button in it using repeater so when i use this with that code.<br />
the repeater gets demented. like the  tag inside repeater changes size. why is it?</p>
<p>Thanks in advance<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swadesh</title>
		<link>http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/comment-page-9/#comment-30960</link>
		<dc:creator>Swadesh</dc:creator>
		<pubDate>Tue, 03 Jan 2012 12:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://anantgarg.com/?p=255#comment-30960</guid>
		<description>I personally tried to embed it into my wesite. I came across the following issue.

@ Whenever i create a username of special characters or the username contains spaces, the chat window did not open.

I  worked continuously for a week and finally i was able to solve the issue.

I decided to make it available to everyone else. because here in this blog i found  a lot of people seeking to resolve the same issue

Here is the result http://itswadesh.wordpress.com/2011/05/07/gmail-facebook-style-jquery-chat/</description>
		<content:encoded><![CDATA[<p>I personally tried to embed it into my wesite. I came across the following issue.</p>
<p>@ Whenever i create a username of special characters or the username contains spaces, the chat window did not open.</p>
<p>I  worked continuously for a week and finally i was able to solve the issue.</p>
<p>I decided to make it available to everyone else. because here in this blog i found  a lot of people seeking to resolve the same issue</p>
<p>Here is the result <a href="http://itswadesh.wordpress.com/2011/05/07/gmail-facebook-style-jquery-chat/" rel="nofollow">http://itswadesh.wordpress.com/2011/05/07/gmail-facebook-style-jquery-chat/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.888 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-17 11:12:05 -->
<!-- Compression = gzip -->
