/    Sign up×
Community /Pin to ProfileBookmark

Retaing scrollbar position on page refresh.

Hi everyone,

I need to retain the position of the scrollbar on refresh of the page. is there any way i can do this?

I refresh the page with the scrollbar every5 seconds and when the user is at particular point. i want the scrollbar to come back to the same point on refresh.

regards,
Prashant

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@SanderKFeb 25.2005 — I believe that is browser specific.

It does this in Firefox, but not in IE. Don't think there's much that you can do about it.
×

Success!

Help @prashantp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...