PDA

View Full Version : Swith Content - move to top of heading



jninete
07-16-2012, 03:09 PM
1) Script Title: Switch Content Script II

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

3) Describe problem: This script is working great, but I am having one issue. Not a big deal but wonder if there is a quick solution. The content under heading 1 is quite long, so if you scroll down to read it and then click on heading 2, it stays down toward the bottom of that content. I would like it to pop back up to the top of heading 2 so the viewer can start reading from the beginning rather than scroll back up. I hope that makes sense. It is an internal site, so I can't link to it.

jscheuer1
07-16-2012, 04:37 PM
Try this modified version of the switchicon.js script:

4549

jninete
07-16-2012, 04:57 PM
I works! Thank you!