2011년 03월 24일
Jquery Dialog 모달 팝업 타이틀바 사용 하기 안하기.
이것을 손을 조금 봐서 타이틀 보이고 싶음 보이고 아님 안보이게 할 수 있게 만들었습니다.
일단 jquery ui 파일을 jquery-ui-1.8.11.custom.zip 안의 파일로 바꾸어 줍니다.
<script src="jquery-1.5.1.js" type="text/javascript"></script>
<script src="jquery-ui-1.8.11.custom.js" type="text/javascript"></script>
<link href="css/jquery-ui-1.8.11.custom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function fnModalOpen() {
$("#divDialog").dialog(
{
modal: true,
draggable: false,
resizable: false,
width: 1000,
height: 600,
istitle: false, // 이부분 입니다. true는 title bar 나오게 false는 title bar 안나오게 합니다.
show: "slide",
hide: "explode"
}
);
}
</script>
# by | 2011/03/24 16:46 | Program | 트랙백 | 덧글(0)









