Hi,

I’m using a toggle control plugin[1] made by Darren Oakley. However I would like
to extend it using the Cookie plugin so that toggle states will be remembered
and since its been awhile that I've been using jQuery I could use some help with
this. I’m trying to find a nice way to extend the script in such a way that it:

1) Detects if the Cookie plugin[2] is available

2) Allows you to set a cookiename, location and expiration date (incl logical
defaults) as options

3) Using -if available- the set cookie during the initialization of plugin and
thus determine an element’s visibility and change this if necessary.

With these additions I belief that it would be the ‘ultimate’ toggle plugin. Now
before I dive into this I would like to know if something like this is already
available?

Any other feedback in how to realize this, would be very much appreciated,

[1] http://hocuspokus.net/stuff/jquerytogglecontrol/
[2] http://plugins.jquery.com/project/Cookie

All the best,

grtz
BjornW

Reply via email to