<?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: A jQuery slider on cookies</title>
	<atom:link href="http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/</link>
	<description>The portfolio of Bram Van der Sype</description>
	<lastBuildDate>Sun, 29 Aug 2010 06:48:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jim</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-6647</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sun, 29 Aug 2010 06:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-6647</guid>
		<description>Really easy to use.  thanks.</description>
		<content:encoded><![CDATA[<p>Really easy to use.  thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-6466</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Tue, 10 Aug 2010 12:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-6466</guid>
		<description>Super cool, works perfectly!
thanks :)</description>
		<content:encoded><![CDATA[<p>Super cool, works perfectly!<br />
thanks <img src='http://www.bramme.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-6339</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Thu, 22 Jul 2010 05:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-6339</guid>
		<description>Super thanks for this tutorial, I implemented it on a popular news website.  You are the best!</description>
		<content:encoded><![CDATA[<p>Super thanks for this tutorial, I implemented it on a popular news website.  You are the best!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: momo</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-5862</link>
		<dc:creator>momo</dc:creator>
		<pubDate>Tue, 18 May 2010 20:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-5862</guid>
		<description>Helped me a lot, thanks!!!</description>
		<content:encoded><![CDATA[<p>Helped me a lot, thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dridm</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-5633</link>
		<dc:creator>dridm</dc:creator>
		<pubDate>Mon, 19 Apr 2010 23:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-5633</guid>
		<description>sweet! nice job, thanks for sharing!</description>
		<content:encoded><![CDATA[<p>sweet! nice job, thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaliber von Reginhild</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-3461</link>
		<dc:creator>Xaliber von Reginhild</dc:creator>
		<pubDate>Mon, 12 Oct 2009 21:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-3461</guid>
		<description>Great script. :D
A question though, is it possible to make it horizontally-scaled? So it collapses/expands horizontally, not vertically.</description>
		<content:encoded><![CDATA[<p>Great script. <img src='http://www.bramme.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
A question though, is it possible to make it horizontally-scaled? So it collapses/expands horizontally, not vertically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-2765</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-2765</guid>
		<description>I applied &#039;/&#039; path to each case when cookie is set. This seems to fix :)

---------------------------------------
if($.cookie(&quot;panelState&quot;) == undefined) {
	$.cookie(&quot;panelState&quot;, initialState, { path: &#039;/&#039; });
} 

var state = $.cookie(&quot;panelState&quot;);

if(state == &quot;collapsed&quot;) {
	panel.hide();
	button.html(hiddenText);
	button.addClass(activeClass);
}
  
button.click(function(){
	if($.cookie(&quot;panelState&quot;) == &quot;expanded&quot;) {
		$.cookie(&quot;panelState&quot;, &quot;collapsed&quot;, { path: &#039;/&#039; });
		button.html(hiddenText);
		button.addClass(activeClass);
	} else {
		$.cookie(&quot;panelState&quot;, &quot;expanded&quot;, { path: &#039;/&#039; });
		button.html(visibleText);
		button.removeClass(activeClass);
	}
	
	panel.slideToggle(&quot;slow&quot;);
	
	return false;
});
---------------------------------------</description>
		<content:encoded><![CDATA[<p>I applied &#8216;/&#8217; path to each case when cookie is set. This seems to fix <img src='http://www.bramme.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
if($.cookie(&#8220;panelState&#8221;) == undefined) {<br />
	$.cookie(&#8220;panelState&#8221;, initialState, { path: &#8216;/&#8217; });<br />
} </p>
<p>var state = $.cookie(&#8220;panelState&#8221;);</p>
<p>if(state == &#8220;collapsed&#8221;) {<br />
	panel.hide();<br />
	button.html(hiddenText);<br />
	button.addClass(activeClass);<br />
}</p>
<p>button.click(function(){<br />
	if($.cookie(&#8220;panelState&#8221;) == &#8220;expanded&#8221;) {<br />
		$.cookie(&#8220;panelState&#8221;, &#8220;collapsed&#8221;, { path: &#8216;/&#8217; });<br />
		button.html(hiddenText);<br />
		button.addClass(activeClass);<br />
	} else {<br />
		$.cookie(&#8220;panelState&#8221;, &#8220;expanded&#8221;, { path: &#8216;/&#8217; });<br />
		button.html(visibleText);<br />
		button.removeClass(activeClass);<br />
	}</p>
<p>	panel.slideToggle(&#8220;slow&#8221;);</p>
<p>	return false;<br />
});<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bram</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-2761</link>
		<dc:creator>Bram</dc:creator>
		<pubDate>Mon, 10 Aug 2009 08:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-2761</guid>
		<description>Hmm, myself, I have no idea how to do this. Is anything mentioned on the jquery.cookie plugin page? You might have better luck asking it there.</description>
		<content:encoded><![CDATA[<p>Hmm, myself, I have no idea how to do this. Is anything mentioned on the jquery.cookie plugin page? You might have better luck asking it there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-2760</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Mon, 10 Aug 2009 05:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-2760</guid>
		<description>Hello, thank you for the script.

Could someone advise how to make the cookie remember site-wide and not by folder? I tried adding path to the first bit to:

$.cookie(&quot;panelState&quot;, initialState, { path: &quot;/&quot; });

but it does not solve. Thanks!</description>
		<content:encoded><![CDATA[<p>Hello, thank you for the script.</p>
<p>Could someone advise how to make the cookie remember site-wide and not by folder? I tried adding path to the first bit to:</p>
<p>$.cookie(&#8220;panelState&#8221;, initialState, { path: &#8220;/&#8221; });</p>
<p>but it does not solve. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://www.bramme.net/2008/09/a-jquery-slider-on-cookies/comment-page-1/#comment-1988</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Fri, 15 May 2009 10:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.bramme.net/?p=59#comment-1988</guid>
		<description>BzS, to that change button.text to button.html

In the variable at the top add your HTML.</description>
		<content:encoded><![CDATA[<p>BzS, to that change button.text to button.html</p>
<p>In the variable at the top add your HTML.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
