View Full Version : Animated Collapsible DIV v2.01 - How scroll to DIV ?

09-04-2008, 02:19 PM
1) Script Title: Animated Collapsible DIV v2.01

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

3) Describe problem: I have a page with a lot of DIVs. Initially are hidden. How can I do to create links to DIVs (anchors) and display them at the same time?

Thank you in advance

09-04-2008, 04:39 PM
If I understood you correctly, a link to expand a particular Animated Collapsible Content looks like:

<a href="javascript:animatedcollapse.show('jason')">Slide Down Jason DIV</a>

To get the above to also act as an anchor and jump to the DIV as well, you'd modify it to:

<a href="#jasonanchor" onClick="animatedcollapse.show('jason')">Slide Down</a>

09-05-2008, 06:11 PM
Thank you!!!
I imagine something like this, but I could not find the solution.
Thanks friend!