esmoldt
12-22-2010, 05:04 PM
http://dynamicdrive.com/dynamicindex17/switchcontent.htm
I use switchcontent.js on my site (www.purdue.edu/recsports) and I would like the collapsed content to open "down" on the page. Currently, if you are scrolled down at all, and you click on the header to open the content, it makes the page jump back to the top. This isn't a problem if the current page doesn't overflow but is quite confusing if you have scrolled down, clicked the header, and the page jumps back to the top. Here's an example of what I'm talking about http://www.purdue.edu/recsports/programs/boiler_challenge/courses.php. Try expanding all, scroll down, and click one of the headers.
Does anyone know how to change this?
Thanks!
I use switchcontent.js on my site (www.purdue.edu/recsports) and I would like the collapsed content to open "down" on the page. Currently, if you are scrolled down at all, and you click on the header to open the content, it makes the page jump back to the top. This isn't a problem if the current page doesn't overflow but is quite confusing if you have scrolled down, clicked the header, and the page jumps back to the top. Here's an example of what I'm talking about http://www.purdue.edu/recsports/programs/boiler_challenge/courses.php. Try expanding all, scroll down, and click one of the headers.
Does anyone know how to change this?
Thanks!