ticker.js

Ticker - slowly appearing and disappearing text.

Objects

OAT.Ticker(element, text, options)

Creates Ticker. It will show text in element. Argument options is an object containing the following:

Methods

.start()

Starts ticking.

.stop()

Stops ticking.

Constants

OAT.TickerData.ADD_

Where to add characters to ticker

OAT.TickerData.CLEAR_

How to remove characters

OAT.TickerData.TIMING_

How delay is specified

OAT.TickerData.LOOP_

What looping to use

Example


var t = new OAT.Ticker(div, "Hello world!", 
                       {delay:30,timing:TickerData.TIMING_PERCHAR});
t.start();

CategoryDocumentation CategoryOAT CategoryOpenSource