JavaScript Help: How to make a sliding container

This example shows how to use JavaScript to make a sliding HTML container. For example, this is how you can create a moving DIV tag. The library includes different slide methods, such as having the sliding tag jump immediately into position when the document is scrolled. Another popular supported method is to have the moving tag slide into place decelerating slowly until it positions itself correctly.

This is a container with some example text in it. It's height it set to illustrate the scroll behavior.