Collapsable fieldset
Collapsable fieldset
http://joolee.nl/projecten/scripts/collapsablefieldset/
^^ testcase ^^
I'm trying to write a script to collapse and open an fieldset with a specific parameter (in this case the checkbox but I think I'm going to change it to classnames). I came this far and got a bit stuck.
I don't think the method / structure I use is the best one, could you guys take a look at it?
One of the problems is defining the height to animate to. I put it on static 300px but that's not how it should be. It should animate back to it's original state.
An other problem is the hover event. It will not unbind.