|
-
Nov 29th, 2002, 08:54 AM
#1
Thread Starter
Frenzied Member
Div autoscroll and set focus
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
-
Dec 14th, 2002, 03:41 PM
#2
Lively Member
Its ages since I used it last, but couldnt you just use:
<a href="window.location: #top">
or something like that. As I said, its a long, LONG time since I used it. Sorry I couldnt be more specific,
James
Ich widerstehe allem - nur nicht der Versuchung
(I can resist anything but temptation)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|