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

정보공유

[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 437건 29 페이지
번호 제목 글쓴이 날짜 조회
17 phpMyAdmin 접속이 localhost 가 아닐경우. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-03 35717
16 데이터 순서도 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-03 36252
15 영카트 장바구니키 세션을 쿠키로 변경 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-02 36117
14 Simple Microphone Recorder 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-26 30036
13 즐겨쓰는 php db 연결문 (접속 - 해제) 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-24 32091
12 달력 함수. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-24 28857
11 datepicker 예제 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-24 39759
10 MYSQL 1~100까지 랜덤 숫자값 SELECT 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-18 38420
9 GD 를 이용한 그래프 만들기 SAMPLE 2 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-18 28679
8 GD 를 이용한 그래프 만들기 SAMPLE 1 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 02-18 29821
7 테이블별 용량 확인 쿼리. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-22 28300
열람중 jQuery Dialog 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-10 28448
5 Minify 를 이용한 JavaScript, CSS 압축 전송 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-09 41444
4 그누보드 파일 구조도. 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-04 34273
3 MySQL INDEX 인덱스 생성 확인 삭제 최고관리자쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-04 28263