PDA

View Full Version : Jumping to opened headers with Accordion Content script



urbini
02-13-2012, 12:45 AM
1) Script Title: Accordion Content script (v1.9)

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

3) Describe problem: I have a page with several groups of content, some of them quite long. So, is there a way to make the page jump to a header soon after this is opened?
Thanks

ddadmin
02-13-2012, 10:25 PM
Sure, try the below modified .js file, which animates the header into view after it's expanded.

urbini
02-14-2012, 01:27 AM
Ok, it works, thanks a lot!
But: why didn't you create a parameter in order to choose to animate or not the headers into view after they're expanded? maybe a future development?