<html>

<head>
<title>해상도별 이동시키기</title>
<script language="JavaScript">
<!--
function na_redirect_by_resolution(url_640x480, url_800x600, url_1024x768, other)
{
  var url_640x480;  
  var url_800x600;  
  var url_1024x768;
  if (screen.width==640||screen.height==480)
    window.location!!.replace(url_640x480)    
  else if (screen.width == 800 ||screen.height == 600)
    window.location!!.replace(url_800x600);
  else if (screen.width == 1024||screen.height == 768)  
    window.location!!.replace(url_1024x768);
  else
    window.location!!.replace(other);
}

// -->
</script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" OnLoad="na_redirect_by_resolution('640*480', '800*600', '1024*768', '기타');">

<p>
<!-- 내용들어갈 자리-->
</p>
</body>

</html>
----------------------------------------------------------------------------
여기서도,, 별 다른건 수정하실것 없구요
OnLoad="na_redirect_by_resolution('640*480', '800*600', '1024*768', '기타');
이 부분을 수정해 주세요
해상도 써 놓은곳에 이동할 절대경로나 상대경로를 적어주시면 됩니다.

Posted by 알 수 없는 사용자
,