Notes

The functionality is quite basic. A <div> containing the text is constrained to the dimensions of the browser window. Then, by clicking on the text or pressing return, you can toggle the scrolling of the text. The speed of the scrolling can be increased by pressing ] and decreased by pressing [.

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: scroll.js

CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.