EQnoble Well-known member Feb 20, 2011 #1 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.
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.
R ragtek Guest Feb 20, 2011 #2 $.setCookie('foo', 'value'); $.getCookie(this.getCookieName()); You could check my ragtek sidebar toggle add-on to see it in action
$.setCookie('foo', 'value'); $.getCookie(this.getCookieName()); You could check my ragtek sidebar toggle add-on to see it in action
EQnoble Well-known member Feb 20, 2011 #3 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
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
EQnoble Well-known member Feb 20, 2011 #4 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" />
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" />