A robust "toggle" plugin for jQuery. Features include:
- Remember the state of the target object in a cookie.
- Change the text of the toggle element (useful if you want the link text to change, e.g. "Show form"/"Hide form").
- Apply classes to the toggle element to give it plus/minus styling.
- Auto focus on a form element within the target element (useful if you are showing a hidden form).
Check out the demo page for installation, examples and settings reference.
If you would like to contribute to this project, fork the code on GitHub and then submit a Pull request for your changes.
If you have any questions, comments or feedback, please email me at dana@danawoodman.com.
If you find a bug, please submit it to the bugtracker.
Copyright © 2011 Dana Woodman dana@danawoodman.com
Released under an MIT license. See the LICENSE file for more information.