
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Achari.in &#187; jquery.js</title>
	<atom:link href="http://www.achari.in/tag/jquery.js/feed" rel="self" type="application/rss+xml" />
	<link>http://www.achari.in</link>
	<description>achari.in is a programmer&#039;s blog maintained by Anoop S Achari. Tutorials focus on Google Map API Integration, Twitter OAuth, Facebook Integration, Jquery, JSE, SCJP Materials and other technical articles.</description>
	<lastBuildDate>Thu, 26 Jan 2012 08:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Create Twitter alert style using Jquery.js and CSS</title>
		<link>http://www.achari.in/create-twitter-alert-style-using-jquery-js-and-css</link>
		<comments>http://www.achari.in/create-twitter-alert-style-using-jquery-js-and-css#comments</comments>
		<pubDate>Thu, 27 May 2010 17:47:12 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery.js]]></category>
		<category><![CDATA[php twitter alert]]></category>
		<category><![CDATA[twitter alert]]></category>
		<category><![CDATA[twitter alert style using jquery]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=344</guid>
		<description><![CDATA[In this tutorial i would explain to you how to create twitter alert style using jquery.js and simple css . The alert drop downs from top of the screen to display what is in a PHP $_SESSION variable . I have included a live demo also . Hope this would help you . Here is [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fcreate-twitter-alert-style-using-jquery-js-and-css"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fcreate-twitter-alert-style-using-jquery-js-and-css&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>In this tutorial i would explain to you how to create twitter alert style using jquery.js and simple css . The alert drop downs from top of the screen to display what is in a PHP $_SESSION variable .</p>
<p>I have included a live demo also . Hope this would help you .</p>
<p><a href="http://www.achari.in/demo/twitter-alert/twitter_alert.php"><img class="alignnone size-full wp-image-347" title="demo" src="http://www.achari.in/wp-content/uploads/2010/05/demo.png" alt="" width="68" height="23" /></a> <a href="http://www.achari.in/sourcecode/twitter_alert.rar"><img class="alignnone size-full wp-image-349" title="source" src="http://www.achari.in/wp-content/uploads/2010/05/source1.png" alt="" width="68" height="23" /></a></p>
<p>Here is the source code</p>
<pre class="brush: xml;">

&lt;?php session_start(); ?&gt;
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
 &lt;head&gt;
 &lt;title&gt;Twitter-like alert message&lt;/title&gt;
 &lt;style type=&quot;text/css&quot;&gt;

 #alert
 {
 overflow: hidden;
 width: 100%;
 text-align: center;
 position: absolute;
 top: 0;
 left: 0;
 background-color: #FF0000;
 height: 0;
 color: #FFFFFF;
 font: 20px/40px arial, sans-serif;
 opacity: .9;
 }
 &lt;/style&gt;
 &lt;/head&gt;
 &lt;body&gt;
 &lt;?php
 if(isset($_POST['submit_message']))
 {
 $_SESSION['display'] = $_POST['message'];
 if(!empty($_SESSION['display']))
 {
 echo '&lt;div id=&quot;alert&quot;&gt;' . $_SESSION['display'] . '&lt;/div&gt;';
 unset($_SESSION['display']);
 }
 }
 ?&gt;
 &lt;div style=&quot;margin-top:100px;&quot;&gt;
 &lt;form method=&quot;post&quot; action=&quot;&quot;&gt;
 &lt;label for=&quot;message&quot;&gt;&lt;strong&gt;Message : &lt;/strong&gt;&lt;/label&gt; &lt;input type=&quot;text&quot; name=&quot;message&quot;&gt;
 &lt;input type=&quot;submit&quot; value=&quot;Alert me!&quot; name=&quot;submit_message&quot; id=&quot;submit_message&quot;&gt;
 &lt;/form&gt;
 &lt;/div&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
 $(function () {
 var $alert = $('#alert');
 if($alert.length)
 {
 var alerttimer = window.setTimeout(function () {
 $alert.trigger('click');
 }, 3000);
 $alert.animate({height: $alert.css('line-height') || '50px'}, 200)
 .click(function () {
 window.clearTimeout(alerttimer);
 $alert.animate({height: '0'}, 200);
 });
 }
 });
 &lt;/script&gt;
 &lt;/body&gt;
&lt;/html&gt;
</pre>
<p>You are done !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/create-twitter-alert-style-using-jquery-js-and-css/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Resolve Conflict between Jquery.js and Prototype.js</title>
		<link>http://www.achari.in/resolve-conflict-between-jquery-js-and-prototype-js</link>
		<comments>http://www.achari.in/resolve-conflict-between-jquery-js-and-prototype-js#comments</comments>
		<pubDate>Wed, 07 Apr 2010 06:47:20 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[how to resolve conflict between]]></category>
		<category><![CDATA[jquery.js]]></category>
		<category><![CDATA[jquery.js and prototype.js]]></category>
		<category><![CDATA[prototype.js]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=11</guid>
		<description><![CDATA[How to resolve conflict between jquery.js and prototype.js This tutorial would teach you to resolve the coflict between jquery and prototype when used together in same file . Its a simple tip to implement . 1. Create a noconflict.js file and include the following code in it . jQuery.noConflict(); var $j = jQuery; 2. Include [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fresolve-conflict-between-jquery-js-and-prototype-js"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fresolve-conflict-between-jquery-js-and-prototype-js&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>How to resolve conflict between jquery.js and prototype.js</p>
<p>This tutorial would teach you to resolve the coflict between jquery and prototype when used together in same file .</p>
<p>Its a simple tip to implement .</p>
<p>1. Create a noconflict.js file and include the following code in it .</p>
<pre class="brush: jscript;">

jQuery.noConflict();
var $j = jQuery;
</pre>
<p>2. Include the js files in the same order as shown below</p>
<p>&lt;script src=&#8221;js/prototype.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;js/jquery-1.3.2.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;js/noconflict.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;</p>
<p>You have fixed it !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/resolve-conflict-between-jquery-js-and-prototype-js/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

