You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Cookies for TABS! Created Jul 31, 2010

This thread is solved

Views: 1668     Replies: 1     Last reply Aug 9, 2010  
You must login first before you can use this feature

neokio

Posts: 2

Registered:
Jul 31, 2010

Cookies for TABS!

Posted: Jul 31, 2010

I'm a HUGE fan of jQueryTOOLS... filesize and snappiness can't be beat.
But the lack of persistence in the tabs is a dealbreaker, and try as I might (my jQuery coding skills are only so-so), this feature eludes me.
Anyone out there successfully implementing tab cookies?
Cheers,
N

Buzz
Author of 'Wordpress Flowplayer', jQuery.saiweb http://saiweb.co.uk Problems, requests? Please log a ticket at: http://trac.saiweb.co.uk

Posts: 271

Registered:
Dec 17, 2008

» Cookies for TABS!

Posted: Aug 9, 2010

Reply to: Cookies for TABS!, from neokio
Well you _could_ use cookies, or think outside the box,

or in this case "outside the tab"

1) Have 1 hidden input for each tab i.e.


<input type="hidden" id="tab1_val" />
<input type="hidden" id="tab2_val" />
<input type="hidden" id="tab3_val" />

Now simply write the value as you need to into each input, and read it back when you need to.

Not an elegant "hack" but saves on cookies, and has a low overhead :-)

Have fun

Cheers

Buzz