메뉴 건너뛰기

조회 수 6083 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
<SCRIPT LANGUAGE="JavaScript">
<!--
  var Size = "UnCommon" 
   if (navigator.appVersion.indexOf("4.") != -1 && 
      navigator.appName.indexOf("Explorer") != -1) {
     ScrnSize = screen.width + "x" + screen.height;
  }
   if (navigator.appVersion.indexOf("4.") != -1 && 
      navigator.appName.indexOf("Netscape") != -1) {
     ScrnSize = screen.width + "x" + (screen.height + 19);
  }
   switch(Size) { 
    case "640x480":   document.write('<body bgcolor="#FF0000" text="#000000">');
    case "800x600":   document.write('<body bgcolor="#00FF00" text="#000000">');
    case "1024x768":  document.write('<body bgcolor="#0000FF" text="#000000">');
    case "1152x864":  document.write('<body bgcolor="#FFFF00" text="#000000">');
    case "1280x1024": document.write('<body bgcolor="#AA0000" text="#000000">');
    case "1600x1200": document.write('<body bgcolor="#FF00FF" text="#000000">');
    case "1600x1280": document.write('<body bgcolor="#00AA00" text="#000000">');
    default:          document.write('<body bgcolor="#FFFFFF" text="#000000">'); // 위의 해상도 크기에 맞지 않을때. 
  }
   document.write('<b>Browser Type :</b> '+navigator.appName+'<BR>');                     // 브라우저 형태
  document.write('<b>Browser Version :</b> '+navigator.appVersion+'<BR>');               // 브라우저 버전
  document.write('<b>Screen Resolution :</b> '+screen.width+"x"+screen.height+'<Br>');   // 해상도 크기
//-->
</script> 

List of Articles
번호 제목 날짜 조회 수
7 페이지 이동 2021.03.26 190
6 개발자도구 F12키 막기 file 2023.01.12 175
5 비동기 작업의 원리 (JavaScript 엔진, Web API, Task Queue, Event Loop) file 2023.01.20 138
4 Node.js와 npm(+ npx)의 개념 2023.01.20 134
3 패스워드, 확인패스워드가 맞는지 체크 2023.01.12 130
2 마우스 오른쪽버튼 , 드래그 선택 차단 2023.01.12 118
1 바닐라 JS, ECMAScript 개념 file 2023.01.20 109
Board Pagination Prev 1 ... 4 5 6 7 8 9 10 11 12 13 Next
/ 13

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved