<?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: Writing multiple toggle links in JQuery</title>
	<atom:link href="http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery</link>
	<description>Designer, Illustrator, DJ and all round genuine bloke...</description>
	<lastBuildDate>Sat, 11 Jun 2011 16:46:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Pascal</title>
		<link>http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery/comment-page-1#comment-1151</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Sat, 11 Jun 2011 16:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.olliekav.com/?p=127#comment-1151</guid>
		<description>Where&#039;s the complete example jquery en html code?

I don&#039;t now wat to do with &quot;content content content&quot;

Thank you!
A newbie</description>
		<content:encoded><![CDATA[<p>Where&#8217;s the complete example jquery en html code?</p>
<p>I don&#8217;t now wat to do with &#8220;content content content&#8221;</p>
<p>Thank you!<br />
A newbie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejas Suthar</title>
		<link>http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery/comment-page-1#comment-1124</link>
		<dc:creator>Tejas Suthar</dc:creator>
		<pubDate>Fri, 28 Jan 2011 12:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.olliekav.com/?p=127#comment-1124</guid>
		<description>Great stuff presented over here. One similar stuff you can explore here is

Demo Page:
http://papermashup.com/demos/jquery-sliding-div/

Project Page:
http://papermashup.com/simple-jquery-showhide-div/</description>
		<content:encoded><![CDATA[<p>Great stuff presented over here. One similar stuff you can explore here is</p>
<p>Demo Page:<br />
<a href="http://papermashup.com/demos/jquery-sliding-div/" rel="nofollow">http://papermashup.com/demos/jquery-sliding-div/</a></p>
<p>Project Page:<br />
<a href="http://papermashup.com/simple-jquery-showhide-div/" rel="nofollow">http://papermashup.com/simple-jquery-showhide-div/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debbie Campbell</title>
		<link>http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery/comment-page-1#comment-1119</link>
		<dc:creator>Debbie Campbell</dc:creator>
		<pubDate>Wed, 22 Dec 2010 00:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.olliekav.com/?p=127#comment-1119</guid>
		<description>This is just what I was looking for, but a demo would have made it easier. This is the HTML that&#039;s working for me (I hope it displays properly):
&lt;code&gt;&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;First link&lt;/a&gt;
First toggled content
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Second link&lt;/a&gt;
Second toggled content&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>This is just what I was looking for, but a demo would have made it easier. This is the HTML that&#8217;s working for me (I hope it displays properly):<br />
<code><a href="#" rel="nofollow">First link</a><br />
First toggled content<br />
<a href="#" rel="nofollow">Second link</a><br />
Second toggled content</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OptimalSolution</title>
		<link>http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery/comment-page-1#comment-1113</link>
		<dc:creator>OptimalSolution</dc:creator>
		<pubDate>Tue, 19 Oct 2010 12:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.olliekav.com/?p=127#comment-1113</guid>
		<description>
			
				{t}Text{/t} &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;{t}Fold{/t}&lt;/a&gt;
			
			
			
				{$text}
			
		

		
			
				{t}Text{/t} &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;{t}Fold{/t}&lt;/a&gt;
			
			
			
				{$text}
			
		

		
			
				{t}Text{/t} &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;{t}Fold{/t}&lt;/a&gt;
			
			
			
				{$text}
			
		


	var states = [&quot;Unfold&quot;, &quot;Fold&quot;]; 
	// two-state toggle for multiple items with no need for a unique class or identifier
	$(&quot;.foldable a.switch&quot;).click(function() {
		$($(&quot;.content&quot;, this.parentNode.parentNode)).toggle();	
		$(this).html(states[$(this).html() != states[0] ? 0 : 1]);				
		return false;
	});
</description>
		<content:encoded><![CDATA[<p>{t}Text{/t} <a href="#" rel="nofollow">{t}Fold{/t}</a></p>
<p>				{$text}</p>
<p>				{t}Text{/t} <a href="#" rel="nofollow">{t}Fold{/t}</a></p>
<p>				{$text}</p>
<p>				{t}Text{/t} <a href="#" rel="nofollow">{t}Fold{/t}</a></p>
<p>				{$text}</p>
<p>	var states = ["Unfold", "Fold"];<br />
	// two-state toggle for multiple items with no need for a unique class or identifier<br />
	$(&#8220;.foldable a.switch&#8221;).click(function() {<br />
		$($(&#8220;.content&#8221;, this.parentNode.parentNode)).toggle();<br />
		$(this).html(states[$(this).html() != states[0] ? 0 : 1]);<br />
		return false;<br />
	});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.olliekav.com/web-design/writing-multiple-toggle-links-in-jquery/comment-page-1#comment-1112</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 22 Jul 2010 21:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.olliekav.com/?p=127#comment-1112</guid>
		<description>Delete the above post and this one then, you need to make it clear to people that:

toggle-item- on each thing they would like to show and hide, should be set to, lets say: toggle-item-link1.

So in other words make sure each &quot;toggle-item-&quot; your hiding and showing has a name of:

&quot;toggle-item-link1&quot;

The &quot;link1&quot; needs to match the class=&quot;link1&quot; that called it, so dont just use &quot;toggle-item&quot; and/or &quot;toggle-item-&quot; because that wont work.

Got it ?!?</description>
		<content:encoded><![CDATA[<p>Delete the above post and this one then, you need to make it clear to people that:</p>
<p>toggle-item- on each thing they would like to show and hide, should be set to, lets say: toggle-item-link1.</p>
<p>So in other words make sure each &#8220;toggle-item-&#8221; your hiding and showing has a name of:</p>
<p>&#8220;toggle-item-link1&#8243;</p>
<p>The &#8220;link1&#8243; needs to match the class=&#8221;link1&#8243; that called it, so dont just use &#8220;toggle-item&#8221; and/or &#8220;toggle-item-&#8221; because that wont work.</p>
<p>Got it ?!?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

