スワイプを含むデータがフッターに動的に入っている場合。ajax 呼び出しを通じて im コーディングを行う GET メソッドによる xml 解析が使用されます
Html で:-
<div data-role="page" id="page1">
<div data-role="footer" data-position="fixed" id="footer">
<div id="wrapper">
<div id="image1"></div>
<div class="menu" id="menu_button1"></div>
</div>
</div>
jqueryの場合:-
function callMenuConnection() {
$.support.cors = true;
$.ajax({
type: "GET",
url: "one.html",
contentType: "text/xml",
dataType: "xml",
data: "",
cache:false,
processData:false,
crossDomain:true,
success: processSuccess,
error: processError
});
}
私はこれらの出力が必要です:-