위토즈 - 개발자프로그램판매공간

정보공유

[JQUERY] jQuery Dialog

[code]
<html>
  <head>
    <title>jQuery</title>
    <script src="lib/jquery-1.2.6.min.js" type="text/javascript"></script>
    <script src="lib/ui.dialog.js" type="text/javascript"></script>
   
<script type="text/javascript">
$(document).ready(function() {
$('#ui-dialog').dialog();
});

</script>
<style>
#ui-dialog {
margin: 0; padding: 0; border: 0; outline: 0;
border: 1px solid #dddddd;
}
</style>
  </head>

  <body>
    <div id="ui-dialog" title="title">
<div class="ui-dialog-content" id="dialogContent" title="">
I'm in a dialog!
</div>
</div>
  </body>
</html>
[/code]

[code]
<html>
  <head>
    <title>jQuery</title>
    <script src="lib/jquery-1.2.6.min.js" type="text/javascript"></script>
    <script src="lib/ui.dialog.js" type="text/javascript"></script>
   
<script type="text/javascript">
$(document).ready(function() {
$("#ui-dialog").dialog({
buttons: {
"Ok": function() {
alert("Ok");
$(this).dialog("close");
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
});

</script>
<style>
#ui-dialog {
margin: 0; padding: 0; border: 0; outline: 0;

border: 1px solid #dddddd;
}

.ui-dialog-titlebar {
margin: 0px;
border: 0px;
padding: 10px 0px 0px 10px;
outline: 0px;

height: 17px;
font-size: 12px;

color: #555555;
background: #e6e6e6;
border-bottom: 1px solid #d3d3d3;

position: relative;
}

.ui-dialog-titlebar-close {
margin: 0;
padding: 0px; 
border: 0; outline: 0;
text-decoration: none;

right: 10px;
top: 10px;

position: absolute;
}

.ui-dialog-content {
margin: 0;
padding: 10px 0px 0px 10px;
border: 0; outline: 0;
line-height: 1.3;
font-size: 12px; text-decoration: none; list-style: none;
color: #222222;
}

.ui-dialog-buttonpane {
bottom: 0;
width: 100%;
text-align:center;
height: 30px;
border-top: 1px solid #dddddd;
background: #ffffff;

position: absolute;
}

</style>
  </head>

  <body>
<div id="ui-dialog" title="title">
<div class="ui-dialog-content" id="dialogContent" title="">
I'm in a dialog!
</div>

</div>
  </body>
</html>

[/code]

첨부파일

정보공유
Total 49건 3 페이지
번호 제목 글쓴이 날짜 조회
19 Magnific Popup 예제 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-19 32862
18 array radio 버튼 유효성 체크 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-16 26992
17 jQuery 3 이상 버전환경일경우 size() 오류 대처 방법. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 04-14 26106
16 jquery 를 쓰지않고 ajax 로 데이터값 전송하기. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 04-05 24979
15 폼 엔터 처리 막기. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-16 25795
14 Jquery Plugin gallery - Magnific Popup 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-07 42993
13 table 비동기식 삭제 처리. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-12 26402
12 폼안에 수정된 값이 있는지 확인하는 간단한 방법. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12-07 28429
11 눈 내리는 효과 - jQuery Snow Falling plugin 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12-06 42794
10 form reset clearform 먹히지 않습니다. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11-14 28409
9 jquery 로 비동기식 ul li 추가/삭제 할 경우. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 04-16 47615
8 jquery mobile 에서 스와이프 페이징. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-24 31506
7 jquery 레이아웃 플러그인. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11-21 41216
6 jQuery UI Touch Punch 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11-07 28219
5 jquery 롤링 모음. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10-25 39274