Weird Thoughts From Eric's Head

Tags - Categories : All | AJAX | BUSINESS | PERSONAL | PROGRAMMING | BOOK REVIEW

Remembering the Page, Div, or DataGrid's scroll position.

Well I thought I would revamp my remember the scroll position script one more time to make it easier to add onto the page. This one still uses cookies, but I am working on a new version that will give you an option to use a hidden element on the page. But for now you can use a more "oo" type of code to have the browser retain the scroll position so your divs, datagrids, and page will stay where the user left it.

The code and demo can be found here: http://pascarello.brinkster.net/rememberScrollPosition.html

Eric Pascarello
Moderator of HTML/JavaScript at www.JavaRanch.com
Co-Author of: Ajax In Action




Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 5 + 4 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/pascarello/addTrackBack.action?entry=1130527575367