는 예 페이지 점프 페이지 B 인 영향을 미치지, 페이지 B는 자체 예컨대 CSS 참조, B에 대한 페이지 A의JQuery와 모바일 AJAX 점프
CSS없는 효과를 갖는다 :
/* page A start */
<head>
<link rel="stylesheet" href="jquery.mobile.css" />
<script src="jquery.mobile.js"></script>
</head>
<body>
<div data-role="page">
<a href="B.html" data-role="button" data-theme="a">this is A</a>
</div>
</body>
/* page A end */
/* page B start */
<head>
<link rel="stylesheet" href="jquery.mobile.css" />
<script src="jquery.mobile.js"></script>
<style>
a{
color : red !important;
}
#a{
height : 100px;
width : 100px;
color : red;
}
</style>
</head>
<body>
<div data-role="page" >
<a href="A.html" data-role="button" data-theme="a">this is B</a>
<div id="a">bbb</div>
</div>
</body>
/* page B end */
점프는 색상이 'DIV'설정되지 높이와 너비를 변경하지 아약스와 B로, 그래서
사업부 '데이터 역할'태그 '를'을 넣어 찾을 = " 페이지 "효과가 있습니다 만, 다른 것이 있습니다
해결 방법은 있습니까? 아약스와 스타일을 B 페이지에 넣으십시오.
더 좋은 해결책이 있습니까? – Shadow
링크 확인 http://jquerymobile.com/demos/1.1.0/#/demos/1.1.0/docs/api/events.html –