DeadEyes
Nov 29th, 2002, 07:54 AM
Here's the situation:
I have a page which on the left has a DIV set to auto scroll,
and a list of links. When the user selects one of the links the
details appear on the right side of the screen after a submit.
The problem is when the page reloads the scroll bar for the DIV
is back at the top; whereas I want it to automaically scroll down
to the link that had been selected (so it stays in view).
Do I use window.scrollTo() and how?
Any ideas appriciated(sp?)
BTW this is for an IE specific web-app.
thanks in advance
I have a page which on the left has a DIV set to auto scroll,
and a list of links. When the user selects one of the links the
details appear on the right side of the screen after a submit.
The problem is when the page reloads the scroll bar for the DIV
is back at the top; whereas I want it to automaically scroll down
to the link that had been selected (so it stays in view).
Do I use window.scrollTo() and how?
Any ideas appriciated(sp?)
BTW this is for an IE specific web-app.
thanks in advance