Remember Scroll Position

This scrollbox will remember its scrollbar position when you return to the page.

Scroll down and click on the link.

Then from the destination page, click the Back button.

This scrollbox will load with the scrollbar in the same position that you left it.

HTML Codes

Go on... try it!

Scroll down and click on the link.

Then from the destination page, click the Back button.

This scrollbox will load with the scrollbar in the same position that you left it.

Try this HTML Editor

Go on... try it!

Scroll down and click on the link.

Then from the destination page, click the Back button.

This scrollbox will load with the scrollbar in the same position that you left it.

Have a Great Workout!

Go on... try it!

Forget Scroll Position

This scrollbox is a normal scrollbox. It will forget its scrollbar position when you return to the page. Therefore, the scrollbar will return to the top of the scrollbox when you return to the page. This is because it doesn't contain the same JavaScript code as the above scrollbox.

Scroll down and click on the link.

Then from the destination page, click the Back button.

This scrollbox will load with the scrollbar back at the top position. This is because it does not have any special code to remember the scrollbar position.

ZappyHost web hosting

Go on... try it!

Back to Div Scroll Position.