jQuery MobileおよびPhonegapアプリにindex.htmlとabout.htmlの2つのページがあります
index.html
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
... load jquery and jquery mobile...
</head>
<body>
<div data-role="page" id="index">
...content goes here...
<a href="about.html" data-role="button">about</a>
</div>
</body>
</html>
about.htmlにはページのデータロールのみがあります
<div data-role="page" id="about">
<a href="index.html" data-rel="back" data-icon="back" data-transition="slide">Back</a>
...content goes here...
<a href="#dialog" id="form_dialog" data-rel="popup">qweqwe</a>
<div data-role="popup" id="dialog" data-overlay-theme="a" data-position-to="window">
<div data-role="content" data-theme="c">
<a href="#page" data-role="button" data-theme="c" >Ok</a>
</div>
</div>
</div>
私が抱えている問題は、about
ページをロードすると、ダイアログと戻るリンクが機能しないことです。
ポップアップhtmlを配置するindex
と機能します。
また、新しいページが読み込まれると、スタイルがそこにあるため、jquery モバイルが読み込まれます。
この問題に関するアイデアはありますか?
ありがとう