Creates a set of 'rotating' elements, which are cyclically displayed in an infinite fashion (1, 2, 3, 1, 2 ...).
Creates the Rotator object. Its elements will have
width of panelX and height of panelY .
Callback will be executed every time rotation pauses.
Parameter options is an object of the following
properties:
Adds a new element to rotating set.
Starts the rotation process.
var r = new OAT.Rotator(200, 200, {type:OAT.Rotator.TYPE_RIGHT}, function(){}); r.addPanel("div1"); r.addPanel("div2"); r.addPanel("div3"); r.start();