jQuery Mobile 다이얼로그

Jmnote bot (토론 | 기여)님의 2015년 7월 23일 (목) 11:11 판 (로봇: 자동으로 텍스트 교체 (-http://jmnote.com/jqm/ +http://zetawiki.com/ex/jquerymobile/))

1 개요

jQuery모바일 대화상자
jQuery모바일 다이얼로그

2 소스코드

html
Copy
<!DOCTYPE html>
<html>
    <head>
    <title>jQuery모바일 대화상자 예제</title>
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
</head>
<body>
<section data-role="page">
    <header data-role="header"><h1>헤더</h1></header>
    <div data-role="content">
        <p>내용</p>
        <p><a href="dialog_page" data-rel="dialog" data-role="button">대화상자 열기</a></p>
    </div>
    <footer data-role="footer"><h1>푸터</h1></footer>
</section>
<section data-role="page" data-url="dialog_page">
    <header data-role="header"><h1>대화상자 헤더</h1></header>
    <div data-role="content">
        <p>대화상자 내용</p>
    </div>
    <footer data-role="footer"><h1>대화상자 푸터</h1></footer>
</section>
</body>
</html>

3 같이 보기

4 참고 자료