The RotatorContainer cycles through
dijit.layout.ContentPanes and provides navigation in the form of tabs or a pager. There a number of timing settings you can adjust as well as the layout of the controls.
Here’s how you can use it:
NOTE: There is some CSS needed to make the RotatorContainer look correct. Include or copy the contents of the dojox/layout/resources/RotatorContainer.css into your CSS file.
The magic happens once you have some content. It takes a bit of time to tweak things, but you can pretty much do anything you can imagine.
The RotatorContainer can be controlled by a pager which includes a play/pause button, next and previous button, and the current and total panes. You can also have as many pagers as you’d like. The pager code looks like this:
One thing I should note, if this widget should find it’s way into dojox, it’s possible the name or functionality will change.
If time permitted, I would have liked to add additional transitions such as a left-to-right wipe. Oh well.