1) Script Title: Switch Content Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tchcontent.htm
3) Describe problem: Hi, I've been able to setup your script on an information page of mine and the script itself works superbly. There is one thing that I hope can be improved for my situation: I have 5-8 contracted headers to start with. Each of them has quite a bit of hidden text to expand. So when I hit the first header, the text expands and the rest of the headers move down and off the screen. When I scroll down to the end of the expanded text and press the second header, the first one contracts, the second one expands at its original position, but the screen remains at its current spot. This means that the screen now only shows halfway the expanded text of the second header. So I have to scroll up again to the beginning of the new text.
Would it be possible to add some coding to automatically jump to the first line of the expanded text each time you hit a header?