View Full Version : Animated Collapsible DIV

04-02-2009, 11:59 PM
1. http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

Is there a way to get the Animated Collapsible DIV script to open the DIV AND use an in-page hyperlink to go to the area on the page that the button just opened?

<a href="javascript:animatedcollapse.show('Info')">

Opens the DIV, but to go to the area on the page you normally would use:

<a href="#Info">

I have a link at the top of a text heavy page that when selected i want the proper DIV to open and the page scrolls down to that area.


04-03-2009, 10:00 AM
You can combine the two actions by doing something like:

<a href="#" onClick="animatedcollapse.show('Info')">