현재 창 크기에 맞게 동적으로 새 창 띄우기 > script

본문 바로가기
사이트 내 전체검색

script

현재 창 크기에 맞게 동적으로 새 창 띄우기

페이지 정보

작성자 서방님 댓글 0건 조회 211회 작성일 08-07-10 19:57

본문

<script language="javascript">
<!--
var tHeight = window.document.body.clientHeight/2;
var tWidth = window.document.body.clientWidth;
var tTop = window.screenTop + tHeight;
var tLeft = window.screenLeft;


alert(tTop + ' : ' + tLeft + ' : ' +  tHeight + ' : ' + tWidth);
//선택된 객체가 있는 경우 선택 창을 뛰운다.
MM_openBrWindow('/Search_List.asp?','searchResults','width='+tWidth+',height='+tHeight+', scrollbars=yes, left='+tLeft+', top='+tTop);

//-->
</script>

댓글목록

등록된 댓글이 없습니다.

Total 846건 20 페이지
게시물 검색

회원로그인

접속자집계

오늘
486
어제
506
최대
1,347
전체
173,017
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.