"JQuery Mobile 다이얼로그"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-http://zetawiki.com/ex/jquerymobile/ +http://zetawiki.com/ex/jquery-mobile/))
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(같은 사용자의 중간 판 2개는 보이지 않습니다)
8번째 줄: 8번째 줄:


==소스코드==
==소스코드==
<source lang='html5'>
<syntaxhighlight lang='html5'>
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
35번째 줄: 35번째 줄:
</body>
</body>
</html>
</html>
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
42번째 줄: 42번째 줄:
*[[대화 상자]]
*[[대화 상자]]


==참고 자료==
==참고==
*http://stackoverflow.com/questions/6101370/creating-a-dialog-jquery-mobile
*http://stackoverflow.com/questions/6101370/creating-a-dialog-jquery-mobile


[[분류:JQuery 모바일]]
[[분류:JQuery Mobile]]

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

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 참고[ | ]