<?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: Saving state with the jQuery Accordion Menu</title>
	<atom:link href="http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/</link>
	<description>[ mike centola's blog ]</description>
	<lastBuildDate>Sat, 23 Jan 2010 05:25:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Cool Dude</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-4376</link>
		<dc:creator>Cool Dude</dc:creator>
		<pubDate>Mon, 11 Jan 2010 08:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-4376</guid>
		<description>Your site was extremely interesting, especially since I was searching for thoughts on this subject last Thursday.


I&#039;m Out!  :)</description>
		<content:encoded><![CDATA[<p>Your site was extremely interesting, especially since I was searching for thoughts on this subject last Thursday.</p>
<p>I&#8217;m Out!  <img src='http://www.mikecentola.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikecentola</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-3801</link>
		<dc:creator>mikecentola</dc:creator>
		<pubDate>Wed, 18 Nov 2009 23:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-3801</guid>
		<description>Right, that will work for having the anchor tag in the address bar. Using a cookie circumvents that. I can&#039;t remember why I didn&#039;t want it in the address bar, but it will come to me haha.</description>
		<content:encoded><![CDATA[<p>Right, that will work for having the anchor tag in the address bar. Using a cookie circumvents that. I can&#8217;t remember why I didn&#8217;t want it in the address bar, but it will come to me haha.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parker Hillius</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-3800</link>
		<dc:creator>Parker Hillius</dc:creator>
		<pubDate>Wed, 18 Nov 2009 23:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-3800</guid>
		<description>Setting the navigation attribute to true will let the accordion automatically handle this for you.

From jQuery Documentation:

navigation

Type:Boolean
Default:false

If set, looks for the anchor that matches location.href and activates it. Great for href-based state-saving. Use navigationFilter to implement your own matcher.</description>
		<content:encoded><![CDATA[<p>Setting the navigation attribute to true will let the accordion automatically handle this for you.</p>
<p>From jQuery Documentation:</p>
<p>navigation</p>
<p>Type:Boolean<br />
Default:false</p>
<p>If set, looks for the anchor that matches location.href and activates it. Great for href-based state-saving. Use navigationFilter to implement your own matcher.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kibi</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-3706</link>
		<dc:creator>kibi</dc:creator>
		<pubDate>Fri, 06 Nov 2009 12:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-3706</guid>
		<description>Thanks for article. 
How to store nested list accordions ? 
In you example http://www.truenegative.com you have 1 level accordion with 
Here it is nested list accordion - http://blog.evaria.com/wp-content/themes/blogvaria/jquery/index-multi.php  
Any ideas? 

Thank you for answer :-)</description>
		<content:encoded><![CDATA[<p>Thanks for article.<br />
How to store nested list accordions ?<br />
In you example <a href="http://www.truenegative.com" rel="nofollow">http://www.truenegative.com</a> you have 1 level accordion with<br />
Here it is nested list accordion &#8211; <a href="http://blog.evaria.com/wp-content/themes/blogvaria/jquery/index-multi.php" rel="nofollow">http://blog.evaria.com/wp-content/themes/blogvaria/jquery/index-multi.php</a><br />
Any ideas? </p>
<p>Thank you for answer <img src='http://www.mikecentola.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikecentola</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-3677</link>
		<dc:creator>mikecentola</dc:creator>
		<pubDate>Fri, 30 Oct 2009 18:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-3677</guid>
		<description>Working example is up (unofficially) at &lt;a href=&quot;http://www.truenegative.com&quot; rel=&quot;nofollow&quot;&gt;www.truenegative.com&lt;/a&gt;

Take a look and let me know what you think!</description>
		<content:encoded><![CDATA[<p>Working example is up (unofficially) at <a href="http://www.truenegative.com" rel="nofollow">http://www.truenegative.com</a></p>
<p>Take a look and let me know what you think!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-3670</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Thu, 29 Oct 2009 23:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-3670</guid>
		<description>Hi Mike,
Thanks for the code.
Any news on when you might have a working example?</description>
		<content:encoded><![CDATA[<p>Hi Mike,<br />
Thanks for the code.<br />
Any news on when you might have a working example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Help Seeker</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-3378</link>
		<dc:creator>Help Seeker</dc:creator>
		<pubDate>Sun, 27 Sep 2009 21:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-3378</guid>
		<description>Per Jensesn,
Thanks for your suggstion. It seems to e working for un-nested accordions, but for nested I&#039;m having trouble as is collapses all as soon as I click on the sub-accordion. Here&#039;s my code:

	
	jQuery(document).ready(function(){
		var drawer = jQuery.cookie(&#039;accdrawer&#039;);
		if(drawer == undefined) {
			drawer = &quot;0&quot;;
		}
		jQuery(&#039;#accordion2&#039;).accordion({
			header: &#039;h3&#039;,
			navigation: false,
			active: parseInt(drawer),
			autoHeight: false,
			clearStyle: true,
			collapsible: true,
			alwaysOpen: true,
			animated: &#039;slide&#039;,
			change: function(event,ui) {
				var index = jQuery(this).find(&quot;h3&quot;).index(ui.newHeader[0]);
				if (index &gt; -1) {
					jQuery.cookie(&quot;accdrawer&quot;, index, {path: &quot;/&quot;});
				}
			}
		});
	});				

	


     &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Main&lt;/a&gt;
     
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Search&lt;/a&gt;
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Test&lt;/a&gt;
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Review&lt;/a&gt;
		
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Database&lt;/a&gt;
			
			&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Summary&lt;/a&gt;
			
		
	
	&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Dashboard&lt;/a&gt;
	
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Summary&lt;/a&gt;
	
</description>
		<content:encoded><![CDATA[<p>Per Jensesn,<br />
Thanks for your suggstion. It seems to e working for un-nested accordions, but for nested I&#8217;m having trouble as is collapses all as soon as I click on the sub-accordion. Here&#8217;s my code:</p>
<p>	jQuery(document).ready(function(){<br />
		var drawer = jQuery.cookie(&#8216;accdrawer&#8217;);<br />
		if(drawer == undefined) {<br />
			drawer = &#8220;0&#8243;;<br />
		}<br />
		jQuery(&#8216;#accordion2&#8242;).accordion({<br />
			header: &#8216;h3&#8242;,<br />
			navigation: false,<br />
			active: parseInt(drawer),<br />
			autoHeight: false,<br />
			clearStyle: true,<br />
			collapsible: true,<br />
			alwaysOpen: true,<br />
			animated: &#8216;slide&#8217;,<br />
			change: function(event,ui) {<br />
				var index = jQuery(this).find(&#8220;h3&#8243;).index(ui.newHeader[0]);<br />
				if (index &gt; -1) {<br />
					jQuery.cookie(&#8220;accdrawer&#8221;, index, {path: &#8220;/&#8221;});<br />
				}<br />
			}<br />
		});<br />
	});				</p>
<p>     <a href="#" rel="nofollow">Main</a></p>
<p>		<a href="#" rel="nofollow">Search</a><br />
		<a href="#" rel="nofollow">Test</a><br />
		<a href="#" rel="nofollow">Review</a></p>
<p>		<a href="#" rel="nofollow">Database</a></p>
<p>			<a href="#" rel="nofollow">Summary</a></p>
<p>	<a href="#" rel="nofollow">Dashboard</a></p>
<p>		<a href="#" rel="nofollow">Summary</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taeke</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-2978</link>
		<dc:creator>Taeke</dc:creator>
		<pubDate>Thu, 27 Aug 2009 22:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-2978</guid>
		<description>Thanks Per Jensen,

I didn&#039;t get the cookie thing to work but your solution works like a charm</description>
		<content:encoded><![CDATA[<p>Thanks Per Jensen,</p>
<p>I didn&#8217;t get the cookie thing to work but your solution works like a charm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikecentola</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-2879</link>
		<dc:creator>mikecentola</dc:creator>
		<pubDate>Thu, 20 Aug 2009 20:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-2879</guid>
		<description>I know I know! It&#039;s coming soon. I swear! :)</description>
		<content:encoded><![CDATA[<p>I know I know! It&#8217;s coming soon. I swear! <img src='http://www.mikecentola.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-2846</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Tue, 18 Aug 2009 11:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-2846</guid>
		<description>Example of this working would be really nice, since I just can&#039;t make it work :(</description>
		<content:encoded><![CDATA[<p>Example of this working would be really nice, since I just can&#8217;t make it work <img src='http://www.mikecentola.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
