천

해상도에 따라 서로 다른 페이지로 접속 하기 입니다.

· 2016-01-20 (수) 09:35:28 · 2465

<html>
<HEAD>
<TITLE> </TITLE>
<SCRIPT LANGUAGE="JavaScript">

function redirectPage() {
var url640x480 = "1.html";
var url800x600 = "2.html";
var url1024x768 = "3.html";
var url1280x1024 = "4.html";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url1280x1024;
}
// End -->
</script>
</HEAD>
<body onLoad="redirectPage()">
</body>
</html>


사용자 해상도가 640*480이면 1.html
800*600이면 2.html
1024*768이면 3.html
1280*1024이거나 이 외 해상도는 4.html 로 접속하게 됩니다.  

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
16-07-13 조회 2,159
16-07-12 조회 2,328
16-07-12 조회 2,352
16-07-11 조회 2,185
16-06-05 조회 2,894
16-06-03 조회 3,005
16-05-26 조회 2,922
15-09-22 조회 4,973
15-06-10 조회 4,812
14-10-25 조회 6,347
14-10-22 조회 8,972
14-09-21 조회 5,775
14-09-16 조회 5,054
14-08-22 조회 1.1만
14-08-13 조회 5,889
14-08-12 조회 5,425
14-08-12 조회 6,279
14-08-11 조회 6,916
14-06-12 조회 6,187
14-06-11 조회 5,094
14-05-09 조회 5,405
14-05-09 조회 6,366
14-05-09 조회 6,392
14-05-08 조회 5,731
14-04-17 조회 4,730
14-04-16 조회 4,563
14-04-15 조회 4,568
14-04-15 조회 4,520
14-04-15 조회 4,286
14-04-14 조회 4,269
14-04-14 조회 4,234
14-04-14 조회 4,615
14-04-14 조회 4,762
14-04-14 조회 4,748
14-04-13 조회 4,647
14-04-12 조회 4,211
14-04-12 조회 4,358
14-04-12 조회 4,465
14-04-11 조회 4,994
14-04-10 조회 4,724
14-04-10 조회 4,763
14-04-09 조회 4,919
14-04-09 조회 5,284
14-04-08 조회 6,947
13-10-30 조회 7,645
13-07-11 조회 5,111
13-03-28 조회 1.1만
13-02-27 조회 6,767
13-02-14 조회 5,587
13-01-10 조회 4,504
12-12-31 조회 5,078
12-12-20 조회 6,096
12-12-12 조회 5,258
12-12-07 조회 4,479
12-11-28 조회 4,830
12-11-22 조회 5,263
12-11-12 조회 5,632
12-09-22 조회 4,500
12-09-18 조회 4,691