PDA

View Full Version : Animated Collapsible DIV



vuurvos
07-13-2007, 08:50 AM
1) Script Title: Animated Collapsible DIV

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem:
The script does not remember if the div was closed or open in its last state, it is always closed.
These are the settings:
animatedcollapse("footer_expand", 400, true, "block")

I want it to be opened by default and the script to remember the last state: open or closed.

Edit: With firefox the script remembers the last state when opening and closing tabs, but when you restart the browser it forgets the last state.

jscheuer1
07-13-2007, 09:26 AM
That's how it works, from the demo page:


A persistence feature that if enabled will remember if a DIV has been expanded, and upon the user's return to the page within the same browser session, keep it expanded.