목록

jQuery Mobile

Home

jQuery Mobile을 사용하려면?

1. 먼저 jQuery 라이브러리와 jQueryMobile의 라이브러리 및 스타일시트 파일을 문서내에 포함해야 한다.

<html> <head> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script> </head> <body> ... </body> </html>

2. html을 작성시 jqm 문법을 사용해야 한다. 태그 엘리먼트에 data-*를 사용