wrote on 27 apr 2006 in comp.lang.javascript:
> Well, like I said above, [..]
"Above"? As you so comprehensively demonstrate
by writing this on the first line of your posting:
please do not toppost on usenet.
===============
[topposting corrected]
>> x = window.pageXOffset;
>> y = window.pageYOffset;
>>
>> and then as the last line, add
>>
>> window.scrollTo(x,y);
> Well, like I said above, I am not at all familiar with javascript and
> how it all goes etc. I'd really appreciate it if someone could show me
> exactly where it goes. I've tried looking up examples but everyone's
> seems to be a little different. Also do I need to substitute x & y
> with numbers and if so which ones?
The x and y variables must be filled with the values of your scroll
destination.
So if you want to record the present position for a LATER(!) vertical
scroll:
x = 0;
y = window.pageYOffset;
will do that for you on some browsers.
window.scrollTo(x,y);
called by user or timer action,
will do the actual scrolling,
when you want to get BACK(!!!) to that previous recorded position.
=================
Programming such scrolling is IMHO not for the beginning js programmer,
better first do some simple projects to learn,
... or source it out as a payed project, if it is worth it.

Signature
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)