Help appreciated: So I'm using the mootools FX Slide toggle() method to slide in and out a div and I'm setting a cookie everything the slider is interacted with (open or closed). But what I now want to do is: Set a cookie when the slider is open and set a different cookie when the slider is closed or destroy the cookie.
I can't seem to grab the state of the slider in the toggle(). I know there are explicit methods for hide() and show() but I would like to use only toggle() and get the state -> hide or show, is there any property or method that can give me the state of the slider toggle ? http://mootools.net/docs/more/Fx/Fx.Slide#Fx-Slide:toggle
