ajax - Prototype plugin need for expanding and hiding divs and remembering state of choices for user -
while viewing or editing in rather complicated form, i'd love able have user close , open "sections" of page depending on using for.
the trick i'd keep track of choices preferences, next time @ record of same sort, see same sections.
what envisioning like:
<div class='expandable'> <h2>some heading</h2> <div id='some-stuff-you-might-not-want-to-see' class='expandable-body'> ... </div> </div> when page loaded, you'd see section, if clicked on toggle button on div, you'd hide it, , if go record of same type, section remains hidden.
i don't want roll own, , i'm okay if entirely client-side, using cookies determine sections hide. know of this?
rails 2.3.5, ruby 1.8.7, using prototype.
i think answered yourself. use cookie remember choice, use prototype hide div(s). don't think you'll find full fledged plug-in you.
Comments
Post a Comment