views:

92

answers:

1

i can make the 'back' button,

it only use to add 'back' to the className ,

but ,how to make a 'forward' button ,that slide right when clicked.

thanks

like the 'List' in next pic,

alt text

+1  A: 

You are going to have to do some CSS styling of your own, however

<div class="toolbar">
    <a class="button back" href="#">Home</a>
    <a id="someId" class="button slide listButton" href="#targetPage">List</a>
</div>

will work with bit of CSS... (i.e. you are going to get a rectangle button by default, you need a button that is a mirrored back button, look at the back button css on how to

Edit: I changed the href so that it automatically goes to the taget page. Otherwise you will have to take out the "slide" class add an id, and then add some handler in the javascript:

 $('#someId').tap(function(){ jQT.goTo('targetPage'); });
Kris Erickson
You may also need to implement the behaviour of listButton elements with javascript, e.g. $('.listButton').live('tap', function(){...}).
William