잔글 (JQuery 모바일 시작하기 문서를 JQuery모바일 시작하기(으)로 옮김) |
|||
1번째 줄: | 1번째 줄: | ||
{{소문자}} | {{소문자}} | ||
==개요== | |||
;jQuery 모바일 시작하기 | ;jQuery 모바일 시작하기 | ||
;jQuery 모바일 튜토리얼 | ;jQuery 모바일 튜토리얼 | ||
HTML문서에서 jQuery모바일을 사용하려면 다음 3가지를 추가해야 한다. | |||
*jQuery 자바스크립트 | |||
*jQuery모바일 자바스크립트 | |||
*jQuery모바일 CSS | |||
==example01.php== | ==example01.php== |
2013년 2월 12일 (화) 14:38 판
1 개요
- jQuery 모바일 시작하기
- jQuery 모바일 튜토리얼
HTML문서에서 jQuery모바일을 사용하려면 다음 3가지를 추가해야 한다.
- jQuery 자바스크립트
- jQuery모바일 자바스크립트
- jQuery모바일 CSS
2 example01.php
html
Copy
<!DOCTYPE html>
<meta charset="utf-8" />
<html>
<head>
<title>안녕 친구들</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
</head>
<body>내용 없음</body>
</html>
3 example02.php
html
Copy
<!DOCTYPE html>
<meta charset="utf-8" />
<html>
<head>
<title>안녕 친구들</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>헤더</h1>
</div>
<div data-role="content">
<div id="banner">
<h2>배너</h2>
</div>
<p>다람쥐 헌 쳇바퀴에 타고파.</p>
<ul data-role="listview" data-inset="true">
<li><a href="#">안녕</a></li>
<li><a href="#">친구들</a></li>
</ul>
</div>
<div data-role="footer">
<h4>푸터</h4>
</div>
</div>
</body>
</html>
4 같이 보기
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.