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 [.
Click here for demo