웹마스터 팁

설명
자바스크립트 경고창을 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 // 웹브라우져에선 적용안됨.
제목 글쓴이 날짜
엔터키 걸러내고 코멘트 무조건 10자이상으로 하게하는 자바스크립트 소스 [9] 교행사랑 2003.06.06
자바스크립트로 두개 이상의 페이지 동시에 열기. [4] 이성헌 2003.06.08
Top, Back 함께사용하기 file sharim 2003.06.11
[스크립트]오른쪽 버튼 누르면 메뉴나오기^^ [1] 처절초보 2003.06.16
[스크립트] 메뉴에 마우슬 데면 서브 메뉴가 나온다 [2] 처절초보 2003.06.16
손쉬운 롤오버 이미지 자동생성 [15] 행복한고니 2003.06.16
웹에서그림그리기 [5] 카이저 2003.06.27
아이프레임으로 나타낸 문서를 크기에 맞게 자동으로 사이즈 조절 [3] DODGE 2003.06.28
제로보드 사용시 아이프레임의 크기를 내용에 따라 바꿔주는 스크립트 [7] 쿨리안 2003.06.28
마우스 오른쪽 버튼 누르면 원하는 메뉴 뜨게 만들기(다른사이트) [3] 김주형 2003.07.03
상태바에 2개의 메세지가 뜨는 태그 김주형 2003.07.03
이미지 필터를 사용한 간단한 소스 [3] NzeoZen 2003.07.06
한줄씩 올라가는 뉴스티거용 인데요....제로보드하구는 어케...쩝 [12] 하나비 2003.07.08
노프레임 홈페이지 수정 편리하게 &용량줄이기. [9] 세죠위그이 2003.07.15
초강력 울트라..매가톤 간단...랜덤이미지.. [6] 김한샘 2003.07.24
HTML경고창 [수정#2] [14] [락위듀]아렌티 2003.07.26
나름대로 만들어본 가운데 팝업 스크립트 [3] phase 2003.07.31
Marquee 태그를 이용한 간단한 스크립트 [7] 뒹굴리스트 2003.08.06
편리한 컴내꺼 포트개방 (com.ne.kr FTP Port Open) [1] phase 2003.08.16
배경도 이제 선택한다!!? [2] NzeoZen 2003.08.16