PDA

View Full Version : Memorize the state



Titanesk
02-05-2011, 10:58 AM
1) Script Title: Animated Collapsible DIV v2.4

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

3) Describe problem:

Hello,

How to do for that when a visitor goes out site, and that it returns, it can rediscover the state of the frameworks open or close as to his last visit?

Thank you.

azoomer
02-05-2011, 12:25 PM
Try to set persist to 1.
Example:
animatedcollapse.addDiv('dog', 'fade=0,speed=400,group=pets,persist=1,hide=1')

Titanesk
02-05-2011, 06:54 PM
Thank you for your response, but I already use this option, and nothing changes, dice that I do a refresh of the page, all closes itself.

Titanesk
02-06-2011, 12:39 PM
I understood the concerns, I have to leave a line that was not used, apparently that prevents to keep in memory the state of opening or of closing of the windows:)

Resolved.

Titanesk
02-06-2011, 05:03 PM
In not faitye that not walks as it is necessary, dice that I do a refresh, it is good, but if I change page and I return, on the page, that not keeps in memory the opening or the closing of the frameworks, this is not as reliable as a system of cookies, I have to install this script on a forum.

Do have you a solution?

Titanesk
02-07-2011, 04:28 PM
Hello, if you do not have any functional solution, you can say it for me, thank you.

azoomer
02-07-2011, 06:08 PM
I do not have any functional solution, you are welcome.