リストビュー要素をクリックすると、 $.mobile.changePage を使用して新しいページに遷移します。
こんな感じで使っていますが、
$('ul').children('li').on('click', function () {
created_date = $.trim($(this).text());
$.mobile.changePage( "Image.html", {
transition: 'slide',
reverse: 'true'
});
});
これはhtmlページです
<div data-role="page" id="SavedImage" >
<div data-role="header">
<h1></h1>
<a href="#"></a>
</div>
<div data-role="content">
<img src="Image/InScope.png" alt="" style="height:100%; width:100%;" />
</div>
<div data-role="footer">
</div>
</div>
に遷移しimage.html
、戻るボタンをクリックすると に移動する必要があります。しかし、ページlistview
に遷移しlistview
、再び image.html ページに戻ります。
に戻らないようにする方法image.html
。