In the initialize function of my backbone router I have
$(document).on('click', '.back', function(e) {
e.preventDefault();
window.history.back();
});
and I define my back buttons like
<a data-rel="back" class="back">Back</a>
The thing is I would like to change the transition and the direction (reverse = true) when I go back, currently it uses the default one.
By the way backbone is in charge of creating pages and routing, I use JQ Mobile only for the UI (you can see how I change pages there: jQuery Mobile + backbone.js: navbar issue).
Thanks.
I ended up doing:
Then