On 9 Sep., 10:08, PMario <
pmari...@gmail.com> wrote:
> copy this into a tiddler eg: SliderCookieHack and tag it systemConfig
>
> //{{{
> config.macros.slider.onClickSlider = function(ev)
> {
> var e = ev || window.event;
> var n = this.nextSibling;
> var cookie = n.getAttribute("cookie");
> var isOpen = n.style.display != "none";
> if(config.options.chkAnimate && anim && typeof Slider == "function")
> anim.startAnimating(new Slider(n,!isOpen,null,"none"));
> else
> n.style.display = isOpen ? "none" : "block";
> if (cookie != "") { //!!
> config.options[cookie] = !isOpen;
> saveOptionCookie(cookie);
> } //!!
> return false;};
>
> //}}}
>
> If the list breaks the lines, you can load from TeamWork [1]
> I did a short test. Please report if there are some side effects!!
>