jQuery UI 다이얼로그

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:53 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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 }}