PDA

View Full Version : scroll position


cool5
03-02-2006, 07:24 AM
IE6: on click of a form button or page reload, page moves to top. How to retain the position of page after such action?. example codes?.

mlseim
03-02-2006, 03:04 PM
I found a Javascript/Cookie method to do what you want,
if this is any help ...

Here's where I tested it out.

http://www.catpin.com/scroll_saver.htm

It seems like it works (I'm not the author of the script).

You can test it out and see if it works the way you want.

View the HTML source to see how the Javascript is loaded
and functions are called within the <body> tag.