"JQuery Mobile 시작하기"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 23개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{소문자}}
{{소문자}}
==개요==
;jQuery 모바일 시작하기
;jQuery 모바일 튜토리얼
HTML문서에서 jQuery모바일을 사용하려면 다음 3가지를 추가해야 한다.
*jQuery 자바스크립트
*jQuery모바일 자바스크립트
*jQuery모바일 CSS


==example01.php==
<img src='http://demos.jquerymobile.com/1.4.0/_assets/img/jquery-logo.png' style='width:200px' />
<source lang='html5'>
<!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>
</source>
*http://jmnote.com/jqm/example01.php


==example02.php==
==example02.php==
<source lang='html5'>
<syntaxhighlight lang='html5'>
<!DOCTYPE html>
<!DOCTYPE html>
<meta charset="utf-8" />
<meta charset="utf-8" />
<html>
<html>
<head>
<head>
<title>다람쥐</title>
<title>안녕 친구들</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.css">
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script src="//code.jquery.com/jquery-latest.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.js"></script>
</head>
</head>
<body>  
<body>  
<div data-role="page">
<div data-role="page">
    <div data-role="header">
  <div data-role="header">
        <h1>안녕 다람쥐야</h1>
    <h1>헤더</h1>
    </div>
  </div>
    <div data-role="content">
  <div data-role="content">
        <div id="banner">
    <div id="banner">
            <h2>다람쥐X</h2>
      <h2>배너</h2>
        </div>
        <p>다람쥐 헌 쳇바퀴에 타고파.</p>
        <ul data-role="listview" data-inset="true">
            <li><a href="./page1.html">다람쥐</a></li>
            <li><a href="./page2.html">쳇바퀴</a></li>
        </ul>
    </div>
    <div data-role="footer">
        <h4>jmnote.com</h4>
     </div>
     </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>
</div>
</body>
</body>
</html>
</html>
</source>
</syntaxhighlight>
*예제: http://zetawiki.com/ex/jquery-mobile/example02.php


==같이 보기==
==같이 보기==
*[[jQuery 모바일 2페이지]]
*[[jQuery Mobile 2페이지 구성]]
*[[jQuery Mobile 최신 버전 사용]]
*[[HTML5 기본 형태]]
*[[HTML5 기본 형태]]
*[[jQuery 시작하기]]
*[[jQuery 시작하기]]
*[[자바스크립트 라이브러리]]


[[분류:jQuery]]
[[분류:JQuery Mobile]]
[[분류:웹 앱]]
[[분류:튜토리얼]]
[[분류:모바일 웹]]

2020년 11월 2일 (월) 02:53 기준 최신판

1 개요[ | ]

jQuery 모바일 시작하기
jQuery 모바일 튜토리얼

HTML문서에서 jQuery모바일을 사용하려면 다음 3가지를 추가해야 한다.

  • jQuery 자바스크립트
  • jQuery모바일 자바스크립트
  • jQuery모바일 CSS

<img src='http://demos.jquerymobile.com/1.4.0/_assets/img/jquery-logo.png' style='width:200px' />

2 example02.php[ | ]

<!DOCTYPE html>
<meta charset="utf-8" />
<html>
<head>
<title>안녕 친구들</title>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.css">
<script src="//code.jquery.com/jquery-latest.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.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>

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}