JQuery cookies?

EQnoble

Well-known member
Can anyone assist me with adding cookie functions to a jquery effect? I have made quite a slick template edit that I would like to share but think it is worthless to share if I cannot save the state of the effect.
 
$.setCookie('foo', 'value');
$.getCookie(this.getCookieName());


You could check my ragtek sidebar toggle add-on to see it in action;)
 
I actually use it and think I broke it...I was making somehting to tie into that....i can pm you a link to what I did to show you
 
update: I fixed what I broke...I just needed to put your if above my include where it belonged seeing as mine is in the sidebar :-)
Code:
<xen:if is="{$sidebar}">
<xen:include template="ragtek_sidebar_container" />
</xen:if>
<xen:include template="xx_js_head" />
 
Top Bottom