E

사이트의 해상도를 알려주고 해상도가 맞지 않으면 경고창을 띄우는 스크립트

· 2006-05-11 (목) 10:44:01 · 2280
<SCRIPT LANGUAGE="JavaScript">

<!-- Original: http://www.geocities.com/SiliconValley/6052 -->

<!-- Begin
function DetectBrowser (BestBrowser,BestVersion) {
var Browser = navigator.appName;
var Version = navigator.appVersion;
if (Browser == BestBrowser) {
if (Version == BestVersion) {
alert ("Congratulations, you've got just the right browser to be able to view this page properly.");
} else {
alert ("You've at least got the right browser, but the version is not the right one, so you might not be possible to view the page properly.");}
} else {
alert ("Sorry, you haven't got the right browser to view this page as it was meant to be viewed, so you'll probably not be able to view this page properly.");
}
}
// End -->
</SCRIPT>
</HEAD>
<BODY>

<center><FONT SIZE=-1>This page is best viewed with Netscape 3.01, Windows 95 and 640x480 resolution.</FONT>
<FORM><INPUT TYPE=BUTTON VALUE="Have the right browser?" onClick="DetectBrowser ('Netscape','3.01Gold (Win95; I)')"></FORM></center><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
05-08-01 조회 4,039
05-07-24 조회 5,409
05-07-16 조회 5,517
bbbking
05-07-08 조회 3,341
bbbking
05-07-08 조회 3,138
bbbking
05-07-08 조회 8,775
05-07-01 조회 3,322
05-06-30 조회 4,705
05-06-24 조회 5,172
05-06-24 조회 3,406
05-06-21 조회 6,813
05-06-17 조회 4,643
05-06-15 조회 5,454
05-05-04 조회 3,695
05-04-11 조회 4,793
05-04-04 조회 5,206
05-04-02 조회 3,598
05-03-30 조회 3,299
05-03-15 조회 3,453
05-03-15 조회 3,130
05-03-14 조회 2,609
05-03-13 조회 2,823
05-03-13 조회 2,966
05-03-13 조회 2,796
05-03-13 조회 3,040
05-03-13 조회 4,633
05-03-13 조회 3,175
05-03-13 조회 2,601
05-03-13 조회 2,630
05-03-13 조회 2,491
05-03-13 조회 3,663
05-03-13 조회 2,697
05-03-13 조회 2,708
05-03-13 조회 3,222
05-03-13 조회 3,493
05-03-13 조회 3,084
05-03-13 조회 3,036
05-03-13 조회 3,715
05-03-13 조회 2,654
05-03-13 조회 4,165
05-03-13 조회 2,876
05-03-13 조회 3,232
05-03-13 조회 2,703
05-03-13 조회 3,884
05-03-13 조회 2,573
05-03-12 조회 4,907
05-02-04 조회 3,482
04-12-13 조회 7,110
04-12-01 조회 3,387
04-11-30 조회 3,456
04-11-30 조회 2,795
04-11-30 조회 2,695
04-11-30 조회 4,098
04-11-29 조회 3,834
04-11-28 조회 3,768
04-11-28 조회 4,129
04-11-28 조회 3,554
04-11-28 조회 3,047
04-11-28 조회 3,588
04-11-24 조회 3,261
04-11-23 조회 3,041
04-11-17 조회 3,050
04-11-12 조회 3,333
04-11-12 조회 2,678
04-11-10 조회 3,908
04-08-23 조회 4,425
04-08-09 조회 5,072
04-08-08 조회 4,809
04-08-05 조회 6,608
03-09-26 조회 5,262