// 팝업창 중앙으로 위치
function center(){
var x,y;
if (self.innerHeight) { // IE 외 모든 브라우저
x = (screen.Width - self.innerWidth) / 2;
y = (screen.Height - self.innerHeight) / 2;
}else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict 모드
x = (screen.Width - document.documentElement.clientWidth) / 2;
y = (screen.Height - document.documentElement.clientHeight) / 2;
}else if (document.body) { // 다른 IE 브라우저( IE < 6)
x = (screen.Width - document.body.clientWidth) / 2;
y = (screen.Height - document.body.clientHeight) / 2;
}
window.moveTo(x,y);
}
// 사용시 : 팝업 스크립트나 팝업파일의 가장 하단에
<script type="text/javascript" language="JavaScript">
<!--
center();
//-->
</script><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
function center(){
var x,y;
if (self.innerHeight) { // IE 외 모든 브라우저
x = (screen.Width - self.innerWidth) / 2;
y = (screen.Height - self.innerHeight) / 2;
}else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict 모드
x = (screen.Width - document.documentElement.clientWidth) / 2;
y = (screen.Height - document.documentElement.clientHeight) / 2;
}else if (document.body) { // 다른 IE 브라우저( IE < 6)
x = (screen.Width - document.body.clientWidth) / 2;
y = (screen.Height - document.body.clientHeight) / 2;
}
window.moveTo(x,y);
}
// 사용시 : 팝업 스크립트나 팝업파일의 가장 하단에
<script type="text/javascript" language="JavaScript">
<!--
center();
//-->
</script><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
게시글 목록
| 번호 | 제목 |
|---|---|
| 10762 |
jQuery
회사에 히스토리에 써먹을 만한 자료
8
|
| 10754 | |
| 10752 |
MySQL
고수님들 도와주세요!
1
|
| 10749 |
Mobile
json 파싱방법
2
|
| 10746 | |
| 10740 | |
| 10738 | |
| 10736 | |
| 10733 |
JavaScript
주민번호, 외국인번호 검사 스크립트
2
|
| 10731 |
Mobile
Base64.java 파일입니다.
1
|
| 10730 | |
| 10727 | |
| 10725 |
MySQL
Mysql Text필드
1
|
| 10721 | |
| 10719 |
Mobile
[안드로이드] 프리퍼런스 사용 방법
1
|
| 10718 | |
| 10712 | |
| 10711 |
Mobile
[ios]사진촬영후 이미지 편집 샘플입니다.
|
| 10710 |
JavaScript
Html , javascript , css 강좌 사이트 입니다.
|
| 10709 |
JavaScript
주민번호 자바스크립트 체크
|
| 10707 |
jQuery
안녕하세요 jquery에 대해 물어볼게있습니다
1
|
| 10706 | |
| 20108 | |
| 10705 |
Mobile
[안드로이드] 자신의 폰에 깔려있는 앱들 검색하기
|
| 10703 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기