dojox.widget.Pager

Click on one of the menu items

Horizontal

Vertical

That's all folks.