PDA

View Full Version : Animated Collapse problem



LordThumper
11-21-2011, 02:19 AM
Hello.

I am having some problems with Animated Collapse.

If I set the options to:

fade=0,speed=300,group=filterGroup,hide=1,persist=0

The div starts closed correctly, and the state does not persist (It works as it should)

If I chage the options to:

fade=0,speed=300,group=filterGroup,hide=1,persist=1

The div starts open instead of closed. The persist part works.

I tried changing the div state with inline css using "display:none", however the div still starts "open".

Any ideas?

Thanks,
LordThumper

ddadmin
11-21-2011, 05:23 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Are you sure it's not just the persistent feature resulting in the DIV being recalled as open when you reload the page? Try closing your browser and launching the page again. If that's not the issue, please post a link to the page on your site that contains the problematic script so we can check it out.