jQuery | javascript | CSS

jQuery Mobile - eclipse 에서 jQueryMobile 실행하기 -2

Godffs 2013. 3. 10. 17:59
반응형

제대로 jQuery Mobile 이 동작하는지 테스트 하겠습니다.

전체 소스 입니다.

<!DOCTYPE html>
<html>
    <head>
    <title>My Page</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
    <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
</head>
<body>
     <div data-role="page">
         <div data-role="header">
             <h1>첫 화면</h1>
         </div>
         <div data-role="content">
                             안녕하세요~! 같이 공부해요.<br />
             http://godffs.tistory.com
         </div>
    </div>
</body>
</html>

결과화면입니다.

끝~
반응형