문서의 이전 판입니다!
<!DOCTYPE html> <html> <head> <title>jquery list</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <!--page--> <div data-role="page" id="j_list"> <!--header--> <div data-role="header"> <h1>header part</h1> </div> <!--content--> <div data-role="content"> <h1>content part</h1> </div> <!--footer--> <div data-role="footer"> <h4>footer part</h4> </div> </div> </body>
<code php>
<body> <div data-role=“page” id=“foo”>
<div data-role="header"> <h1>Foo</h1> </div> <div data-role="content"> <p>I'm first in the source order so I'm shown as the page.</p> <p>View internal page called <a href="#bar">bar</a></p> </div> <div data-role="footer"> <h4>Page Footer</h4> </div>
</div> <div data-role=“page” id=“bar”>
<div data-role="header"> <h1>Bar</h1> </div> <div data-role="content"> <p>I'm first in the source order so I'm shown as the page.</p> <p><a href="#foo">Back to foo</a></p> </div> <div data-role="footer"> <h4>Page Footer</h4> </div>
</div> </body> </code>