현재 창 크기에 맞게 동적으로 새 창 띄우기
페이지 정보
작성자 서방님 댓글 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>
댓글목록
등록된 댓글이 없습니다.