[jQuery] Re: Show hide div with cookie for remembering position -- possible solution

2007-06-11 Thread Matt Stith
No problem! I probably typed something wrong, i just slapped it in here to the gmail editor :P On 6/11/07, bsuttis <[EMAIL PROTECTED]> wrote: Thanks a lot Matt, I understand the cookie value better now (before I wasn't using it properly), and the fact that I can combine the css classes reduces

[jQuery] Re: Show hide div with cookie for remembering position -- possible solution

2007-06-11 Thread bsuttis
Thanks a lot Matt, I understand the cookie value better now (before I wasn't using it properly), and the fact that I can combine the css classes reduces the code a lot, thanks. While the above didn't work for me, I was able to rewrite my code to get it to work, here's what I've got (it's very sim

[jQuery] Re: Show hide div with cookie for remembering position -- possible solution

2007-06-11 Thread Matt Stith
Hi! Heres a couple things i might do $('a.show').hide(); $('a.hide').click(function(){ $('a.show').show(); $('h2.title,.view-header-latest').add(this).hide(); // Combine multiple $.cookie('hideShow","hide",{expires:365}); // Only need one cook