Swapping Content in Scroll Area

Click the links below to see new content swapped into this scroll area. These links swap between divs that exist in this page. The code supports the ability to obtain new content via ajax as well.

If one of the div's does not contain enough content for scrolling to be required, the scroll controls are hidden by default, although you can turn off this feature if you prefer. Code comments in the style sheet tell you how.

Content of second div inside scroll area here. Add as many as you like.

Content repeated for your scrolling pleasure :)

Content of second div inside scroll area here. Add as many as you like.

Content repeated for your scrolling pleasure :)

Content of second div inside scroll area here. Add as many as you like.

Information

Code comments included in this document as well as its associated style sheet will assist you in setting up the code. Please also refer to online documentation as needed.

Back to index for more demo's and information.