<?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: jQuery for Complete Beginners: Part 3</title>
	<atom:link href="http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/</link>
	<description>1stwebdesigner is a design blog dedicated to bloggers, freelancers, web-developers and designers. Topics focus on web design and inspirational articles.</description>
	<lastBuildDate>Mon, 13 Feb 2012 06:45:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gopi</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-147756</link>
		<dc:creator>gopi</dc:creator>
		<pubDate>Fri, 09 Dec 2011 11:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-147756</guid>
		<description>hi,i want a code  to validate a text box using jquery,,anyone pls send me the code ...</description>
		<content:encoded><![CDATA[<p>hi,i want a code  to validate a text box using jquery,,anyone pls send me the code &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: niaz</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-142964</link>
		<dc:creator>niaz</dc:creator>
		<pubDate>Fri, 02 Dec 2011 16:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-142964</guid>
		<description>this is very nice site, i have learned a lot about mobile website, wordpress plug in jquery . thank you very much</description>
		<content:encoded><![CDATA[<p>this is very nice site, i have learned a lot about mobile website, wordpress plug in jquery . thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dermazen</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-121532</link>
		<dc:creator>dermazen</dc:creator>
		<pubDate>Mon, 10 Oct 2011 01:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-121532</guid>
		<description>is a dermazen ozon h2 o and h3 o system optimizasyon</description>
		<content:encoded><![CDATA[<p>is a dermazen ozon h2 o and h3 o system optimizasyon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prefabrik ev fiyatları</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-110618</link>
		<dc:creator>prefabrik ev fiyatları</dc:creator>
		<pubDate>Mon, 26 Sep 2011 13:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-110618</guid>
		<description>forget to close some tags in first code</description>
		<content:encoded><![CDATA[<p>forget to close some tags in first code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prefabrik ev fiyatları</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-105517</link>
		<dc:creator>prefabrik ev fiyatları</dc:creator>
		<pubDate>Tue, 20 Sep 2011 12:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-105517</guid>
		<description>we’ve learned into practice (as well as meeting new things) and create a basic accordion.</description>
		<content:encoded><![CDATA[<p>we’ve learned into practice (as well as meeting new things) and create a basic accordion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunny</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-103191</link>
		<dc:creator>sunny</dc:creator>
		<pubDate>Sat, 17 Sep 2011 10:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-103191</guid>
		<description>Hi,

how can I stop the already selected heading to again start the process of slideup and slidedown as 
I tried this 

headings.click(function() {
            var cur = $(this); //save the element that has been clicked for easy referal
            if (prevcur != cur) {
            cur.siblings(&#039;p&#039;).slideUp(); //hide all the paragraphs
            cur.next(&#039;p&#039;).slideDown(); //get the next paragraph after the clicked header and show it
            }
            var prevcur=cur;

})

but it didnt worked.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>how can I stop the already selected heading to again start the process of slideup and slidedown as<br />
I tried this </p>
<p>headings.click(function() {<br />
            var cur = $(this); //save the element that has been clicked for easy referal<br />
            if (prevcur != cur) {<br />
            cur.siblings(&#8216;p&#8217;).slideUp(); //hide all the paragraphs<br />
            cur.next(&#8216;p&#8217;).slideDown(); //get the next paragraph after the clicked header and show it<br />
            }<br />
            var prevcur=cur;</p>
<p>})</p>
<p>but it didnt worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forgiven@26</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-80362</link>
		<dc:creator>Forgiven@26</dc:creator>
		<pubDate>Tue, 03 May 2011 13:54:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-80362</guid>
		<description>this is a great tutorial, I am a beginner and this is helping me get to understand jQuery very well. If anyone wanted to add the code to an external js here is how you do it:


$(document).ready(
function()
{
	var headings = $(&#039;h3&#039;),
		paras = $(&#039;p&#039;);
	paras.hide().eq(0).show();
	
	headings.click(
	function()
	{
	
		// save the element that has been clicked for easy referal
		var cur = $(this);
	
		////////// This section hides and shows with no animation ////////////////////
		// hide all the paragraphs
		/*cur.siblings(&#039;p&#039;).hide();
		
		// get the next paragraph after the clicked header and show it
		cur.next(&#039;p&#039;).show();*/
		////////// This section hides and shows with no animation ////////////////////
		
		////////// This section hides and shows with animation ////////////////////
		// hide all the paragraphs
		cur.siblings(&#039;p&#039;).slideUp();
		
		// get the next paragraph after the clicked header and show it
		cur.next(&#039;p&#039;).slideDown();
		////////// This section hides and shows with animation ////////////////////
	});
});

just make sure that you link your html to your external js like this:
</description>
		<content:encoded><![CDATA[<p>this is a great tutorial, I am a beginner and this is helping me get to understand jQuery very well. If anyone wanted to add the code to an external js here is how you do it:</p>
<p>$(document).ready(<br />
function()<br />
{<br />
	var headings = $(&#8216;h3&#8242;),<br />
		paras = $(&#8216;p&#8217;);<br />
	paras.hide().eq(0).show();</p>
<p>	headings.click(<br />
	function()<br />
	{</p>
<p>		// save the element that has been clicked for easy referal<br />
		var cur = $(this);</p>
<p>		////////// This section hides and shows with no animation ////////////////////<br />
		// hide all the paragraphs<br />
		/*cur.siblings(&#8216;p&#8217;).hide();</p>
<p>		// get the next paragraph after the clicked header and show it<br />
		cur.next(&#8216;p&#8217;).show();*/<br />
		////////// This section hides and shows with no animation ////////////////////</p>
<p>		////////// This section hides and shows with animation ////////////////////<br />
		// hide all the paragraphs<br />
		cur.siblings(&#8216;p&#8217;).slideUp();</p>
<p>		// get the next paragraph after the clicked header and show it<br />
		cur.next(&#8216;p&#8217;).slideDown();<br />
		////////// This section hides and shows with animation ////////////////////<br />
	});<br />
});</p>
<p>just make sure that you link your html to your external js like this:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-76197</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 01 Apr 2011 08:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-76197</guid>
		<description>Hi, thanks for the jQuery Tutorial - I&#039;m currently getting into it as total Newbie in Java Script and your Tutorial helped me to get some first insights. Thanks, Daniel</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the jQuery Tutorial &#8211; I&#8217;m currently getting into it as total Newbie in Java Script and your Tutorial helped me to get some first insights. Thanks, Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NK</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-34406</link>
		<dc:creator>NK</dc:creator>
		<pubDate>Sat, 24 Apr 2010 23:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-34406</guid>
		<description>thanks for sharing nice jquery thoughts....</description>
		<content:encoded><![CDATA[<p>thanks for sharing nice jquery thoughts&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Risorsa</title>
		<link>http://www.1stwebdesigner.com/tutorials/jquery-for-complete-beginners-part-3/comment-page-1/#comment-34361</link>
		<dc:creator>Web Risorsa</dc:creator>
		<pubDate>Sat, 24 Apr 2010 09:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stwebdesigner.com/?p=11370#comment-34361</guid>
		<description>Nice explanation... Looking for more of the same...
.-= Web Risorsa´s last blog ..&lt;a href=&quot;http://www.webrisorsa.info/seo-best-practices-video-cast/230/&quot; rel=&quot;nofollow&quot;&gt;SEO Best Practices – Video Cast&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>Nice explanation&#8230; Looking for more of the same&#8230;<br />
.-= Web Risorsa´s last blog ..<a href="http://www.webrisorsa.info/seo-best-practices-video-cast/230/" rel="nofollow">SEO Best Practices – Video Cast</a> =-.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

