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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 4명의 중간 판 24개는 보이지 않습니다)
4번째 줄: 4번째 줄:
;jQuery UI 다이얼로그, 대화상자
;jQuery UI 다이얼로그, 대화상자


==소스 코드==
<syntaxhighlight lang='html5'>
<source lang='html5'>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<!doctype html>
<script src="//code.jquery.com/jquery.min.js"></script>
<html lang="en">
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<head>
<script>
  <meta charset="utf-8">
$(function() {
  <title>jQuery UI Dialog - Default functionality</title>
  $('#dialog').dialog({
  <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
    autoOpen: false,
  <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    resizable: false,
  <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  <link rel="stylesheet" href="/resources/demos/style.css">
  <script>
  $(function() {
    $( "#dialog" ).dialog();
   });
   });
   </script>
   $('#button_open_dialog').click( function(){
</head>
    $('#dialog').dialog('open');
<body>
  });
});
</script>
   
   
<div id="dialog" title="Basic dialog">
<button id='button_open_dialog'>대화상자 열기</button>
   <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
<div id="dialog" title="기본 대화상자">
   <p>이것은 기본 대화상자 입니다. 이동하거나 닫을 수 있습니다.</p>
</div>
</div>
</syntaxhighlight>
</body>
<jsfiddle height='200'>nqg3zzsd</jsfiddle>
</html>
</source>


==같이 보기==
==같이 보기==
*[[jQuery모바일 다이얼로그]]
*[[jQuery UI 확인다이얼로그]]
*[[jQuery Mobile 다이얼로그]]
*[[jQuery 플러그인 토스트]]
*[[jQuery 모달 다이얼로그]]
*[[jQuery UI]]
*[[대화상자]]


==참고 자료==
==참고==
*http://jqueryui.com/dialog/
*http://jqueryui.com/dialog/
*http://api.jqueryui.com/dialog
*http://api.jqueryui.com/dialog


[[분류: jQuery UI]]
[[분류: jQuery UI]]

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

1 개요[ | ]

jQuery UI dialog
jQuery UI 다이얼로그, 대화상자
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<script>
$(function() {
  $('#dialog').dialog({
    autoOpen: false,
    resizable: false,
  });
  $('#button_open_dialog').click( function(){
    $('#dialog').dialog('open');
  });
});
</script>
 
<button id='button_open_dialog'>대화상자 열기</button>
 
<div id="dialog" title="기본 대화상자">
  <p>이것은 기본 대화상자 입니다. 이동하거나 닫을 수 있습니다.</p>
</div>

2 같이 보기[ | ]

3 참고[ | ]

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