<?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>rtCafe &#187; jquery</title>
	<atom:link href="http://cafe.rtcamp.com/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.rtcamp.com</link>
	<description>rtCamp Cafe</description>
	<lastBuildDate>Mon, 14 May 2012 19:26:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>gMaps &#8211; Google maps jQuery plugin</title>
		<link>http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/</link>
		<comments>http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/#comments</comments>
		<pubDate>Thu, 03 May 2012 12:19:45 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google map]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/</guid>
		<description><![CDATA[A nice jQuery plugin worth trying. http://gmap.nurtext.de/examples.html]]></description>
			<content:encoded><![CDATA[<p>A nice jQuery plugin worth trying.</p>
<p><a href="http://gmap.nurtext.de/examples.html" rel="nofollow">http://gmap.nurtext.de/examples.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Youtube iframe overlay jQuery fix</title>
		<link>http://cafe.rtcamp.com/2012/04/09/youtube-iframe-overlay-jquery-fix/</link>
		<comments>http://cafe.rtcamp.com/2012/04/09/youtube-iframe-overlay-jquery-fix/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 06:58:07 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/04/09/youtube-iframe-overlay-jquery-fix/</guid>
		<description><![CDATA[jQuery(&#8216;iframe&#8217;).each(function() { var url = jQuery(this).attr(&#8220;src&#8221;) jQuery(this).attr(&#8220;src&#8221;,url+&#8221;?wmode=transparent&#8221;) });]]></description>
			<content:encoded><![CDATA[<p>jQuery(&#8216;iframe&#8217;).each(function() {<br />
   var url = jQuery(this).attr(&#8220;src&#8221;)<br />
   jQuery(this).attr(&#8220;src&#8221;,url+&#8221;?wmode=transparent&#8221;)<br />
});</p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/04/09/youtube-iframe-overlay-jquery-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful handy jQuery Snippets For URL’s</title>
		<link>http://cafe.rtcamp.com/2012/04/02/useful-handy-jquery-snippets-for-urls/</link>
		<comments>http://cafe.rtcamp.com/2012/04/02/useful-handy-jquery-snippets-for-urls/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 10:11:18 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/04/02/useful-handy-jquery-snippets-for-urls/</guid>
		<description><![CDATA[// Retrieve current URL var url = document.URL; // Retrieve root URL var root = location.protocol + &#8216;//&#8217; + location.host; // Redirect &#8211; insert required URL window.location.href = &#8220;http://designchemical.com/&#038;#8221;; //Highlight Current Menu Item var url = document.URL; $(&#8216;#menu a[href="'+url+'"]&#8216;).addClass(&#8216;active&#8217;); //Check If Link Contains External URL, open it in new tab var root = location.protocol + [...]]]></description>
			<content:encoded><![CDATA[<p>// Retrieve current URL<br />
var url = document.URL;</p>
<p>// Retrieve root URL<br />
var root = location.protocol + &#8216;//&#8217; + location.host;</p>
<p>// Redirect &#8211; insert required URL<br />
window.location.href = &#8220;<a href="http://designchemical.com/&#038;#8221" rel="nofollow">http://designchemical.com/&#038;#8221</a>;;</p>
<p>//Highlight Current Menu Item<br />
var url = document.URL;<br />
$(&#8216;#menu a[href="'+url+'"]&#8216;).addClass(&#8216;active&#8217;);</p>
<p>//Check If Link Contains External URL, open it in new tab<br />
var root = location.protocol + &#8216;//&#8217; + location.host;<br />
$(&#8216;a&#8217;).not(&#8216;:contains(root)&#8217;).click(function(){<br />
    this.target = &#8220;_blank&#8221;;<br />
});</p>
<p>Can also check the proper highlighted version at <a href="http://pastebin.com/x4A3hszn" rel="nofollow">http://pastebin.com/x4A3hszn</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/04/02/useful-handy-jquery-snippets-for-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vertical alignment of radio buttons with their labels in the center.</title>
		<link>http://cafe.rtcamp.com/2012/03/30/vertical-alignment-of-radio-buttons-with-their-labels-in-the-center/</link>
		<comments>http://cafe.rtcamp.com/2012/03/30/vertical-alignment-of-radio-buttons-with-their-labels-in-the-center/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 04:22:17 +0000</pubDate>
		<dc:creator>Rutwick</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[alignment]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/03/30/vertical-alignment-of-radio-buttons-with-their-labels-in-the-center/</guid>
		<description><![CDATA[Hi all, This is a simple script to adjust the vertical position of a radio button to the center corresponding with the label next to it. This is particularly useful when the label text is too long and flows down multiple lines. My code assumes your radio buttons are wrapped in a li item, it [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all,<br />
This is a simple script to adjust the vertical position of a radio button to the center corresponding with the label next to it. This is particularly useful when the label text is too long and flows down multiple lines. My code assumes your radio buttons are wrapped in a li item, it could be anything in your case, or just the label placed next to the radio button.</p>
<p>Calculation by: Sagar<br />
Coded by: Rutwick</p>
<p>/* Vertical align radio button */<br />
    jQuery(&#8221;).each(function(){<br />
        var h = jQuery(this).height();<br />
        var i = jQuery(this).find(&#8216;input&#8217;).css(&#8216;margin&#8217;, 0).height();<br />
        var eh = h &#8211; i;<br />
        var ch = eh / 2;<br />
        jQuery(this).find(&#8216;input&#8217;).css(&#8216;margin-top&#8217;, parseInt(ch));<br />
    });</p>
<p>Hope it helps you!</p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/03/30/vertical-alignment-of-radio-buttons-with-their-labels-in-the-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APPLYING SPAN TO THE FIRST LETTER OF EVERY WORD IN A SENTENCE</title>
		<link>http://cafe.rtcamp.com/2012/03/07/applying-span-to-the-first-letter-of-every-word-in-a-sentence/</link>
		<comments>http://cafe.rtcamp.com/2012/03/07/applying-span-to-the-first-letter-of-every-word-in-a-sentence/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 10:59:55 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[snippet code]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[wordpress snippets]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/03/07/applying-span-to-the-first-letter-of-every-word-in-a-sentence/</guid>
		<description><![CDATA[Check out @ http://pastebin.com/ij6xeeGT For javascript substring reference: http://www.w3schools.com/jsref/jsref_substring.asp]]></description>
			<content:encoded><![CDATA[<p>Check out @ <a href="http://pastebin.com/ij6xeeGT" rel="nofollow">http://pastebin.com/ij6xeeGT</a></p>
<p>For javascript substring reference: <a href="http://www.w3schools.com/jsref/jsref_substring.asp" rel="nofollow">http://www.w3schools.com/jsref/jsref_substring.asp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/03/07/applying-span-to-the-first-letter-of-every-word-in-a-sentence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Load and Refresh Div with jQuery in every 10 seconds</title>
		<link>http://cafe.rtcamp.com/2012/02/15/auto-load-and-refresh-div-with-jquery-in-every-10-seconds/</link>
		<comments>http://cafe.rtcamp.com/2012/02/15/auto-load-and-refresh-div-with-jquery-in-every-10-seconds/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 03:36:25 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/02/15/auto-load-and-refresh-div-with-jquery-in-every-10-seconds/</guid>
		<description><![CDATA[Read @ http://webtips.in/2012/01/auto-load-and-refresh-div-with-jquery-in-every-10-seconds.html]]></description>
			<content:encoded><![CDATA[<p>Read @ <a href="http://webtips.in/2012/01/auto-load-and-refresh-div-with-jquery-in-every-10-seconds.html" rel="nofollow">http://webtips.in/2012/01/auto-load-and-refresh-div-with-jquery-in-every-10-seconds.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/02/15/auto-load-and-refresh-div-with-jquery-in-every-10-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful jQuery Tutorials to Enhance WordPress Site http&#8230;</title>
		<link>http://cafe.rtcamp.com/2012/02/04/useful-jquery-tutorials-to-enhance-wordpress-site-http/</link>
		<comments>http://cafe.rtcamp.com/2012/02/04/useful-jquery-tutorials-to-enhance-wordpress-site-http/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 18:01:15 +0000</pubDate>
		<dc:creator>Manish Songirkar</dc:creator>
				<category><![CDATA[link]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/02/04/useful-jquery-tutorials-to-enhance-wordpress-site-http/</guid>
		<description><![CDATA[Useful jQuery Tutorials to Enhance WordPress Site http://www.dynamicwp.net/articles-and-tutorials/useful-jquery-tutorials-wordpress-website/]]></description>
			<content:encoded><![CDATA[<p>Useful jQuery Tutorials to Enhance WordPress Site</p>
<p><a href="http://www.dynamicwp.net/articles-and-tutorials/useful-jquery-tutorials-wordpress-website/" rel="nofollow">http://www.dynamicwp.net/articles-and-tutorials/useful-jquery-tutorials-wordpress-website/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/02/04/useful-jquery-tutorials-to-enhance-wordpress-site-http/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7 vertically centering image inside a div</title>
		<link>http://cafe.rtcamp.com/2012/01/04/ie7-vertically-centering-image-inside-a-div/</link>
		<comments>http://cafe.rtcamp.com/2012/01/04/ie7-vertically-centering-image-inside-a-div/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 18:34:32 +0000</pubDate>
		<dc:creator>Pranav Mhapsekar</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/01/04/ie7-vertically-centering-image-inside-a-div/</guid>
		<description><![CDATA[To vertically center an image inside a div tag we can use display:table-cell and vertical-align: middle as the css for the div , which will work for modern browsers. Lets take an example Suppose I have the following markup. We can apply the following css to get the image vertically as well as horizontally(text-align:center) centered [...]]]></description>
			<content:encoded><![CDATA[<p>To vertically center an image inside a div tag we can use display:table-cell and vertical-align: middle as the css for the div , which will work for modern browsers.<br />
Lets take an example<br />
Suppose I have the following markup.</p>
<div class="image">
    <img alt="imagetext" src="http://imagepath" />
</div>
<p>We can apply the following css to get the image vertically as well as horizontally(text-align:center) centered<br />
.image {<br />
  display: table-cell;<br />
  height: 120px;<br />
  text-align: center;<br />
  vertical-align: middle;<br />
  width: 175px;<br />
}</p>
<p>Now to get the same effect on IE7 (since IE7 doesn&#8217;t support table-cell value for display) we can use jQuery.<br />
The code is given below<br />
jQuery(&#8216;.ie7 .image img &#8216;).each(function () {<br />
        var img_height=jQuery(this).height();<br />
        var padding_value=(120-parseInt(img_height))/2+&#8217;px&#8217;;<br />
        jQuery(this).css(&#8216;padding-top&#8217;,padding_value);<br />
    });</p>
<p>This code will vetically center all images contained in the div having the class &#8220;image&#8221;<br />
var padding_value=(120-parseInt(img_height))/2+&#8217;px&#8217;; on this line 120 refers to the height of the div</p>
<p>Note:Image dimension should be less than the &#8220;div&#8221; dimension <img src='http://cafe.rtcamp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/01/04/ie7-vertically-centering-image-inside-a-div/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>overriding (!important) of css by using jQuery</title>
		<link>http://cafe.rtcamp.com/2011/12/19/overriding-important-of-css-by-using-jquery/</link>
		<comments>http://cafe.rtcamp.com/2011/12/19/overriding-important-of-css-by-using-jquery/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 14:09:47 +0000</pubDate>
		<dc:creator>Pranav Mhapsekar</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2011/12/19/overriding-important-of-css-by-using-jquery/</guid>
		<description><![CDATA[Guys, If you are stuck with CSS which is having !important as a value for the property and as you must be knowing, jQuery doesn&#8217;t use !important value, and lets suppose it is a &#8220;must&#8221; thing for you to change the value through jQuery,then, you can use cssText property. Here is an example, Suppose i [...]]]></description>
			<content:encoded><![CDATA[<p>Guys,<br />
If you are stuck with CSS which is having !important as a value for the property and as you must be knowing, jQuery doesn&#8217;t use !important value, and lets suppose it is a &#8220;must&#8221; thing for you to change the value through jQuery,then, you can use cssText  property.</p>
<p>Here is an example,<br />
Suppose i have a CSS statement.<br />
#rtp-nav-menu li ul { display: none !important; color:#000000;}<br />
 jQuery for this is<br />
jQuery( &#8216;#rtp-nav-menu li ul &#8216;).css({&#8216;cssText&#8217;: &#8216;display: block !important&#8217;,'color&#8217;:'#000000&#8242;});</p>
<p>Remember that you give cssText property first as it overrides any style associated with the particular element.</p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/12/19/overriding-important-of-css-by-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another fancy jQuery for sorting elements like isotope js</title>
		<link>http://cafe.rtcamp.com/2011/12/17/fancy-jquery-sorting-elements-isotope-js/</link>
		<comments>http://cafe.rtcamp.com/2011/12/17/fancy-jquery-sorting-elements-isotope-js/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 07:50:57 +0000</pubDate>
		<dc:creator>Pradeep</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=628</guid>
		<description><![CDATA[Check this out.. http://razorjack.net/quicksand/ Its another jQuery for sorting elements with various demos. It is much like Isotope. &#160;]]></description>
			<content:encoded><![CDATA[<p>Check this out.. <a href="http://razorjack.net/quicksand/">http://razorjack.net/quicksand/</a></p>
<p>Its another jQuery for sorting elements with various demos. It is much like <a title="Isotope" href="http://isotope.metafizzy.co/" target="_blank">Isotope</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/12/17/fancy-jquery-sorting-elements-isotope-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

