E

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

· 2006-05-11 (목) 10:44:01 · 2219
<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건
+
제목 글쓴이 날짜 조회
10-09-25 조회 2,717
10-09-19 조회 2,754
10-09-15 조회 2,754
10-09-15 조회 4,158
10-09-15 조회 3,374
10-09-15 조회 2,490
10-09-07 조회 3,599
10-08-27 조회 4,062
10-06-11 조회 4,224
10-05-31 조회 2,474
10-02-27 조회 4,998
10-02-09 조회 3,748
09-10-10 조회 7,342
09-03-19 조회 3,184
09-02-09 조회 3,462
09-02-09 조회 4,531
08-11-01 조회 2,906
08-09-29 조회 4,559
08-09-26 조회 3,511
08-09-26 조회 3,589
08-09-26 조회 2,724
08-09-26 조회 3,768
08-09-26 조회 3,492
08-09-26 조회 4,254
08-09-18 조회 3,571
08-09-09 조회 3,226
08-08-28 조회 2,769
08-07-06 조회 3,539
08-05-21 조회 4,701
08-05-13 조회 4,536
08-04-17 조회 4,915
08-02-19 조회 3,537
08-01-18 조회 3,841
08-01-10 조회 3,815
07-10-22 조회 3,653
07-10-09 조회 4,305
07-10-03 조회 3,511
07-07-06 조회 4,211
07-07-06 조회 4,425
07-07-06 조회 4,035
07-06-28 조회 3,565
07-06-05 조회 3,564
07-06-05 조회 4,112
07-05-30 조회 3,285
07-05-02 조회 3,685
07-04-15 조회 5,144
07-04-11 조회 3,628
07-04-05 조회 3,926
07-03-31 조회 3,148
07-03-31 조회 4,123
07-03-30 조회 3,731
07-03-24 조회 4,000
07-03-22 조회 3,658
07-03-12 조회 4,407
07-02-16 조회 3,268
07-02-14 조회 5,165
07-02-10 조회 3,994
07-02-09 조회 4,378
07-01-19 조회 4,046
07-01-16 조회 4,974
06-12-16 조회 5,835
06-11-30 조회 3,599
06-11-25 조회 3,703
06-10-15 조회 5,065
06-09-26 조회 5,308
06-09-26 조회 5,425
06-09-22 조회 4,268
06-09-21 조회 3,543
06-09-21 조회 3,632
06-09-02 조회 3,484
06-08-08 조회 5,114
06-07-20 조회 3,718
06-07-17 조회 3,348
06-07-13 조회 4,171
06-07-11 조회 3,471
06-07-11 조회 3,477
06-07-11 조회 3,835
06-06-29 조회 6,059
06-06-19 조회 6,454
06-06-02 조회 3,508
06-05-24 조회 4,995
06-05-14 조회 7,775
06-05-08 조회 3,885
06-02-02 조회 5,451
05-12-16 조회 4,503
05-12-05 조회 5,154
05-06-28 조회 4,105
05-04-11 조회 4,061
05-04-11 조회 4,250
05-04-11 조회 3,315
05-03-13 조회 3,218
05-03-12 조회 4,296
04-12-08 조회 7,779
04-12-01 조회 5,183
04-11-28 조회 3,358
04-11-28 조회 3,198
04-08-05 조회 5,613
04-08-05 조회 4,965
04-08-05 조회 5,573