Last active
August 29, 2015 14:16
-
-
Save JustinChoi21/0154264d71df7374a700 to your computer and use it in GitHub Desktop.
jQuery Mobile source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- jQuery Mobile 기본구조 --> | |
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title>jQuery Mobile Basic</title> | |
<!-- 1. viewport 설정 --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scaleable=no"> | |
<!-- 2. css, js import --> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script><!-- jQuery Mobile init event handling position --></script> | |
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script> | |
<script src="js/index.js"></script> | |
</head> | |
<body> | |
<!-- 3. page --> | |
<div id="home" data-role="page"> | |
<!-- 4. header --> | |
<div data-role="header" data-position="fixed" data-theme="a"> | |
<h1>여기는 헤더</h1> | |
<a href="01.test.html" data-role="button" class="ui-btn-right" data-transition="slideup">Contact us</a> | |
<a href="dialog.html" data-role="button" class="ui-btn-left" data-rel="dialog">Dialog</a> | |
</div> | |
<!-- 5. content --> | |
<div data-role="content" data-theme="b"> | |
<h1>여기는 컨텐트</h1> | |
<h1>여기는 컨텐트</h1> | |
<h1>여기는 컨텐트</h1> | |
<h1>여기는 컨텐트</h1> | |
</div> | |
<!-- 6. footer --> | |
<div data-role="footer" data-position="fixed" data-theme="c"> | |
<h1>여기는 푸터</h1> | |
<a href="02.button.html" data-role="button" class="ui-btn-left">Button</a> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment