O'Reilly logo

jQuery and JavaScript Phrasebook by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Positioning Navigation Buttons

<a href="#page3" data-role="button"   class="ui-btn-right">Next</a> <a href="#page1" data-role="button"   class="ui-btn-left">Prev</a>

You can position the button on the left or right side of the header or footer, adding the .ui-btn-right or .ui-btn-left class to the <a>. This applies jQuery Mobile CSS styles to position the button on the right or left side of the header or footer.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required