웹마스터 팁

설명
자바스크립트 경고창을 html화 한것.

미리보기
테스트

사용방법
로딩
<script language="JavaScript">
window.showModalDialog("경로","이름","옵션");
</script>
링크
@a onclick='JavaScript:window.showModalDialog('경로','이름','옵션');'@새창테스트@/a@

양끝의 @@를 <>로 변경해주세요.


옵션
사용방법예제 ('경로','이름','dialogHeight=200px; dialogWidth=200px')
dialogHeight:sHeight Sets the height of the dialog window (see Remarks for default unit of measure).
세로 길이 // 단위에는 px이나 %가 사용가능하다 // 기본값 %
dialogWidth:sWidth Sets the width of the dialog window (see Remarks for default unit of measure).
가로 길이 // 단위에는 px이나 %가 사용가능하다 // 기본값 %
dialogLeft:sXPos Sets the left position of the dialog window relative to the upper-left corner of the desktop.
가로 너비 위치 // 단위에는 px이나 %가 사용가능하다 // 기본값 %
dialogTop:sYPos Sets the top position of the dialog window relative to the upper-left corner of the desktop.
창의 높이 위치 // 단위에는 px이나 %가 사용가능하다 // 기본값 %
center:{ yes | no | 1 | 0 | on | off } Specifies whether to center the dialog window within the desktop. The default is yes.
창의 중앙 위치 여부 // 기본값 Yes
dialogHide:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window is hidden when printing or using print preview. This feature is only available when a dialog box is opened from a trusted application. The default is no.
인쇄나 미리보기시 표시 여부 // 기본값 No
edge:{ sunken | raised } Specifies the edge style of the dialog window. The default is raised.
안쪽 공간 여부 // sunken=있음, raised=없음 // 기본 값 raised
help:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window displays the context-sensitive Help icon. The default is yes.
도움말표시 여부 // 기본 값 Yes
resizable:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window has fixed dimensions. The default is no.
창 넓이 조정 여부 // 기본 값 No
scroll:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window displays scrollbars. The default is yes.
스크롤바 여부 // 기본 값 Yes
status:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window displays a status bar. The default is yes for untrusted dialog windows and no for trusted dialog windows.
상태표시줄 여부 // 기본 값 Yes
unadorned:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window displays the border window chrome. This feature is only available when a dialog box is opened from a trusted application. The default is no.
창틀 여부 // 기본 값 No // 웹브라우져에선 적용안됨.
제목 글쓴이 날짜
나만의 미니홈 만들기 ㅡ 메인 기초 설계 .home.php [12] file 예뜨락 2004.11.17
나만의 미니홈 만들기 ㅡ 메인 기초 설계2 .레이아웃 예뜨락 2004.11.18
나만의 미니홈 만들기 ㅡ 메인 기초 설계3 .레이아웃 [2] file 예뜨락 2004.11.19
나만의 미니홈 만들기 ㅡ 기초적인 관리 페이지 [3] file 예뜨락 2004.11.20
나만의 미니홈 만들기 ㅡ 미니홈 생성 페이지 [3] file 예뜨락 2004.11.20
나만의 미니홈 만들기 ㅡ 게시판의 디자인 file 예뜨락 2004.11.22
나만의 미니홈 만들기 ㅡ 게시판 list.php 파일의 모양새 [6] 예뜨락 2004.11.23
나만의 미니홈 만들기 ㅡ list.php , 디비 테이블 생성 [6] file 예뜨락 2004.11.26
나만의 미니홈 만들기 ㅡ view.php 파일과 제목링크 [9] file 예뜨락 2004.11.27
나만의 미니홈 만들기 ㅡ write.php 파일과 write_ok [5] 예뜨락 2004.11.30
실명 진위여부 확인 [10] piasol 2004.12.01
개판 오분전 라인 그래프 [4] 미친개 2004.12.01
'참조'에 관한 간단한 예제 플로렐라 2004.12.09
4. 쿼리문 [6] 티다 2004.12.11
나만의 미니홈 만들기 ㅡ메뉴에 게시판 연결 [5] file 예뜨락 2004.12.17
IE 에서도 투명 알파값이 적용된 PNG 이미지를 맘껏 활용하자! [8] file THE PAPER™ 2004.12.27
"를 그냥 사용하기 [3] 추천대화상대 2005.01.02
나만의 미니홈 만들기 ㅡ delete.php 파일 [2] 예뜨락 2005.01.03
퍼미션을 보기좋게 구하자! [4] 플로렐라 2005.01.03
PHP 왕초보 입문기(총괄) [4] file 하나둘 2005.01.15