Scroll Object

The Scroll Object allows you to make a layer that has a JavaScript generated scrollbar by which the user can scroll the content of the layer up and down. Though IE 4 has the IFRAME tag which can be used for scroll content there are limitations to it - it can't be transparent, and other layers cannot be positioned over it. Netscape does not have any built-in ability to scroll a layer, so there's no choice but to go with a pure-JavaScript solution. That's why I built the Scroll Object - it's solves these problems.

The Scroll Object totally replaces the need for my previous Scrollbar script. Here is a list of the new or updated functionality:

There's a lot stuff to explain so I've separated this column into the following sections:

Home Next Lesson: Creating and Destroying Layers