[ASP] request값 뿌리기 -디버깅용 for each i in request.formresponse.write i & " => " & request.form(i) & " "nextfor each i in request.queryStringresponse.write i & " => " & request.queryString(i) & " "nextresponse.end 웹프로그래밍/ASP 13년 전
[JAVASCRIPT] 브라우저 크기(가로,세로) 구하기 1.가로구하기 평선 function getClientWidth() { var ret; if (self.innerHeight) { // IE 외 모든 브라우저 ret = self.innerWidth; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict ret = document.documentElement.clientWidth; } else if (document.body) { // IE Browser ret = document.body.clientWidth; } return ret;} 2. 문서의 크기 변수에담기 세로 var doc_h = (window.innerHeight |.. 웹프로그래밍/Javascript 13년 전
[JAVASCRIPT] ie버전에 따른 윈도우 창닫기 자바스크립트 [ie버전에 따른 윈도우 창닫기] function closeWindow() { //alert(navigator.appVersion); if (navigator.appVersion.indexOf("MSIE 7.0")>=0 || navigator.appVersion.indexOf("MSIE 8.0")>=0 || navigator.appVersion.indexOf("MSIE 9.0")>=0 ) // IE 7.0 이상의 버전일 때의 처리 { window.open("about:blank", "_self").close(); } else // IE 6.0 이하의 버전일 때 처리 { window.opener = self; self.close(); } } 위 코드를 사용하게되면 창을 닫으시겠습니까? 라는 선.. 웹프로그래밍/Javascript 14년 전