웹마스터 팁

설명
자바스크립트 경고창을 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 // 웹브라우져에선 적용안됨.
제목 글쓴이 날짜
XE 속도 0.0001초라도 올리는 소소한 팁들 (추가) [5] 소렌트. 2010.11.16
좋은 PHP 강좌 사이트들 [1] HolyJohn 2010.12.29
?=down [4] L-Goon 2009.01.19
(게시물, 서명) 원하는 곳에 서명 출력하기 [10] file Simulz 2007.10.08
'대표도메인'연결후 '로그인'이 안될때,,(먹통) moonlight994 2011.01.24
회원확장정보 변수 (출처:sMaker) [5] 시니시즘 2010.07.19
로그인 폼에 관리자는 [Admin] 나타나게 하기 [4] file 오스카 2009.10.10
두개 이상의 홈페이지 운영 - Virtual host 설정 [1] 이성헌 2005.12.15
좋은 레이아웃 찿으시는 분들 선우님이 새로 또 하나의 좋은 레이아웃을 만드 셨네요... [2] 유샤인 2011.01.21
[ 도움요청 ] 게시판 리스트에서 작성한 사람만 작성한 리스트가 보이는 방법 ?? 잘살아서복수!! 2011.01.20
XE에서 레이아웃이나 기타의 페이지에 include 사용에 대한 오해??? [3] DuRi 2011.01.18
앞으로 공용선택자 사용은 그만.... [5] ForHanbi 2010.11.23
XE 업데이트 이후 발생하는 문제들에 대한 대응책 정리 [18] file Gekkou 2009.11.19
텍스타일 블로그 메인페이지 만들기 [1] designm 2011.01.13
Content위젯에서 분류명(카테고리)를 이미지로 표현하기 [1] nalireco 2011.01.12
Ubuntu 웹서버 구축 3. ZBXE 설치 [22] [1] earthian 2008.05.23
XE 공식 게시판에 (다운로드) 같은 '임의목록' 집어 넣기 (확장변수x) [1] file 999 2010.12.30
ie6에서 css를 일부 불러들이지 못할때 대처법 아쮸 2011.01.04
파일 업로드시에 403에러 발생시 해결방법. [12] WhiteAT 2007.09.12
나만의 미니홈 만들기 ㅡ 메인 기초 설계 .home.php [12] file 예뜨락 2004.11.17