<?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 for the director.</title>
	<atom:link href="http://www.mikecentola.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikecentola.com/blog</link>
	<description>[ mike centola's blog ]</description>
	<lastBuildDate>Thu, 18 Oct 2012 09:18:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by mehdi</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-14722</link>
		<dc:creator>mehdi</dc:creator>
		<pubDate>Thu, 18 Oct 2012 09:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-14722</guid>
		<description><![CDATA[thanks for your help.if i want do it by myself i have to spend two hour except 5 minutes.
with the best wishes.]]></description>
		<content:encoded><![CDATA[<p>thanks for your help.if i want do it by myself i have to spend two hour except 5 minutes.<br />
with the best wishes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by Gianpiero</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-14661</link>
		<dc:creator>Gianpiero</dc:creator>
		<pubDate>Mon, 08 Oct 2012 08:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-14661</guid>
		<description><![CDATA[Simplest solution:

$(function () {
    var myact = false;
    $( &quot;#myaccordion&quot; ).accordion({
        clearStyle: true,
        collapsible: true,      // allow to close completely
        create: function (event, ui) {
            //get index in cookie on accordion create event
            if (($.cookie(&#039;saved_index&#039;) != null) &amp;&amp; ($.cookie(&#039;saved_index&#039;) != &#039;false&#039;)) {
                myact = parseInt($.cookie(&#039;saved_index&#039;));
            }
        },
        change: function (event, ui) {
            //set cookie for current index on change event
            myact = ui.options.active;
            $.cookie(&#039;saved_index&#039;, null, { expires: 2, path: &#039;/&#039; });   // session cookie
            $.cookie(&#039;saved_index&#039;, myact, { expires: 2, path: &#039;/&#039; });
        },
        active: ($.cookie(&#039;saved_index&#039;) == null) ? 0 : ($.cookie(&#039;saved_index&#039;) == &#039;false&#039;) ? false : parseInt($.cookie(&#039;saved_index&#039;))
    });
});]]></description>
		<content:encoded><![CDATA[<p>Simplest solution:</p>
<p>$(function () {<br />
    var myact = false;<br />
    $( &#8220;#myaccordion&#8221; ).accordion({<br />
        clearStyle: true,<br />
        collapsible: true,      // allow to close completely<br />
        create: function (event, ui) {<br />
            //get index in cookie on accordion create event<br />
            if (($.cookie(&#8216;saved_index&#8217;) != null) &amp;&amp; ($.cookie(&#8216;saved_index&#8217;) != &#8216;false&#8217;)) {<br />
                myact = parseInt($.cookie(&#8216;saved_index&#8217;));<br />
            }<br />
        },<br />
        change: function (event, ui) {<br />
            //set cookie for current index on change event<br />
            myact = ui.options.active;<br />
            $.cookie(&#8216;saved_index&#8217;, null, { expires: 2, path: &#8216;/&#8217; });   // session cookie<br />
            $.cookie(&#8216;saved_index&#8217;, myact, { expires: 2, path: &#8216;/&#8217; });<br />
        },<br />
        active: ($.cookie(&#8216;saved_index&#8217;) == null) ? 0 : ($.cookie(&#8216;saved_index&#8217;) == &#8216;false&#8217;) ? false : parseInt($.cookie(&#8216;saved_index&#8217;))<br />
    });<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REVIEW: TerraLUX Ministar30M LED Upgrade for Maglite Flashlights by howard</title>
		<link>http://www.mikecentola.com/blog/articles/terralux-ministar30m-upgrade-for-maglite-flashlights/comment-page-1/#comment-14584</link>
		<dc:creator>howard</dc:creator>
		<pubDate>Mon, 24 Sep 2012 14:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?page_id=10#comment-14584</guid>
		<description><![CDATA[When you can get a small light 1000 lumens cree T6 torch with charger on amazon uk for one third the cost of upgrading the maglite, why would you bother, unless you like walking around with a cosh or like the bulk of the maglite for leaving on a hedge bank illuminating your quarry while you get it comfortably in your sights?]]></description>
		<content:encoded><![CDATA[<p>When you can get a small light 1000 lumens cree T6 torch with charger on amazon uk for one third the cost of upgrading the maglite, why would you bother, unless you like walking around with a cosh or like the bulk of the maglite for leaving on a hedge bank illuminating your quarry while you get it comfortably in your sights?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by Marc</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-14277</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 21 Aug 2012 10:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-14277</guid>
		<description><![CDATA[Thanks everyone for sharing, I combined a few of these ideas, which let me understand what was is going on.]]></description>
		<content:encoded><![CDATA[<p>Thanks everyone for sharing, I combined a few of these ideas, which let me understand what was is going on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by Daniel</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-14247</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 03 Aug 2012 21:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-14247</guid>
		<description><![CDATA[Just used it today with some edits.

cookie plugin can be found here: https://github.com/carhartl/jquery-cookie

I&#039;ve put it on jsbin for easy cut&#039;n&#039;pasting
It only works in edit mode though, 
http://jsbin.com/ekuhap/1/edit

thanks!]]></description>
		<content:encoded><![CDATA[<p>Just used it today with some edits.</p>
<p>cookie plugin can be found here: <a href="https://github.com/carhartl/jquery-cookie" rel="nofollow">https://github.com/carhartl/jquery-cookie</a></p>
<p>I&#8217;ve put it on jsbin for easy cut&#8217;n'pasting<br />
It only works in edit mode though,<br />
<a href="http://jsbin.com/ekuhap/1/edit" rel="nofollow">http://jsbin.com/ekuhap/1/edit</a></p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by JQuery UI Cookie Accordion - php.de</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-9801</link>
		<dc:creator>JQuery UI Cookie Accordion - php.de</dc:creator>
		<pubDate>Tue, 14 Feb 2012 10:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-9801</guid>
		<description><![CDATA[[...] für das Accordion und wird auch nicht gefixt.  http://bugs.jqueryui.com/ticket/3613  Dort und auf dieser Seite habe ich bereits Beispiele gefunden es dennoch umzusetzen. Doch egal was ich wo hin- und herschiebe [...]]]></description>
		<content:encoded><![CDATA[<p>[...] für das Accordion und wird auch nicht gefixt.  <a href="http://bugs.jqueryui.com/ticket/3613" rel="nofollow">http://bugs.jqueryui.com/ticket/3613</a>  Dort und auf dieser Seite habe ich bereits Beispiele gefunden es dennoch umzusetzen. Doch egal was ich wo hin- und herschiebe [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REVIEW :: Lumintop L1C Tactical Flashlight by Rob</title>
		<link>http://www.mikecentola.com/blog/articles/lumintop-l1c-tactical-flashlight/comment-page-1/#comment-9739</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sat, 14 Jan 2012 22:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/#comment-9739</guid>
		<description><![CDATA[Mike,
I read Chris&#039; review on the Quark X 123-2 light and was leaning in that direction...have you been able to use both?  Going to buy one as soon as I get back from deployment.  thanks.
http://www.4sevens.com/product_info.php?cPath=297_306&amp;products_id=2686]]></description>
		<content:encoded><![CDATA[<p>Mike,<br />
I read Chris&#8217; review on the Quark X 123-2 light and was leaning in that direction&#8230;have you been able to use both?  Going to buy one as soon as I get back from deployment.  thanks.<br />
<a href="http://www.4sevens.com/product_info.php?cPath=297_306&#038;products_id=2686" rel="nofollow">http://www.4sevens.com/product_info.php?cPath=297_306&#038;products_id=2686</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by Manny</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-9643</link>
		<dc:creator>Manny</dc:creator>
		<pubDate>Fri, 25 Nov 2011 13:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-9643</guid>
		<description><![CDATA[Useful and brilliant thank you for sharing this. save me today this did.]]></description>
		<content:encoded><![CDATA[<p>Useful and brilliant thank you for sharing this. save me today this did.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by George</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-9636</link>
		<dc:creator>George</dc:creator>
		<pubDate>Wed, 23 Nov 2011 11:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-9636</guid>
		<description><![CDATA[Thank you so much! you saved my day on implementing this in my website haha love you~]]></description>
		<content:encoded><![CDATA[<p>Thank you so much! you saved my day on implementing this in my website haha love you~</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving state with the jQuery Accordion Menu by Gautham Sarang</title>
		<link>http://www.mikecentola.com/blog/2009/05/31/saving-state-with-the-jquery-accordion-menu/comment-page-1/#comment-9511</link>
		<dc:creator>Gautham Sarang</dc:creator>
		<pubDate>Sun, 02 Oct 2011 16:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikecentola.com/blog/?p=176#comment-9511</guid>
		<description><![CDATA[I am very much new to Jquery. what I want is something very simple. Could anyone please tell me how to achieve this. 

I have two menu&#039;s which needs to be &#039;remembered&#039; by the browser. 
1. A menu that is hidden initially and shown when clicked on a link
2. I have put &#039;help-hints&#039; allover the site. There is a button to hide the hint icons. 

What I want is : Once that main menu is shown, it should stay shown while browsing through the pages. Same with the hint icons. When someone clicks on the link that hides/shows the hint icons, they should get hidden/displayed. 

The following is my code : 

JQuery :

 jQuery(&#039;.slideout&#039;).click(function() { 
   jQuery(&#039;.sf-green&#039;).slideToggle();
   jQuery(&#039;.slideout, .slidein&#039;).toggleClass(&#039;slidein slideout&#039;); 
   });
   
   
   jQuery(&#039;#infobutton&#039;).click(function(){
   jQuery(&#039;.info_on, .info_off&#039;).toggleClass(&#039;info_off info_on&#039;);
   jQuery(&#039;.hint, .hintoff&#039;).toggleClass(&#039;hintoff hint&#039;);
   });

HTML


	

		
			
				&lt;a&gt;Main Menu &lt;/a&gt;
			
		

		
		&lt;a&gt;Help &#187;&lt;/a&gt;
		&lt;!-- items--&gt;

	&lt;!-- infomenu--&gt;

&lt;!-- infomenuwrap--&gt;

Any help will be great! 

Thank you!]]></description>
		<content:encoded><![CDATA[<p>I am very much new to Jquery. what I want is something very simple. Could anyone please tell me how to achieve this. </p>
<p>I have two menu&#8217;s which needs to be &#8216;remembered&#8217; by the browser.<br />
1. A menu that is hidden initially and shown when clicked on a link<br />
2. I have put &#8216;help-hints&#8217; allover the site. There is a button to hide the hint icons. </p>
<p>What I want is : Once that main menu is shown, it should stay shown while browsing through the pages. Same with the hint icons. When someone clicks on the link that hides/shows the hint icons, they should get hidden/displayed. </p>
<p>The following is my code : </p>
<p>JQuery :</p>
<p> jQuery(&#8216;.slideout&#8217;).click(function() {<br />
   jQuery(&#8216;.sf-green&#8217;).slideToggle();<br />
   jQuery(&#8216;.slideout, .slidein&#8217;).toggleClass(&#8216;slidein slideout&#8217;);<br />
   });</p>
<p>   jQuery(&#8216;#infobutton&#8217;).click(function(){<br />
   jQuery(&#8216;.info_on, .info_off&#8217;).toggleClass(&#8216;info_off info_on&#8217;);<br />
   jQuery(&#8216;.hint, .hintoff&#8217;).toggleClass(&#8216;hintoff hint&#8217;);<br />
   });</p>
<p>HTML</p>
<p>				<a>Main Menu </a></p>
<p>		<a>Help &raquo;</a><br />
		<!-- items--></p>
<p>	<!-- infomenu--></p>
<p><!-- infomenuwrap--></p>
<p>Any help will be great! </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
