사이트의 해상도를 알려주고 해상도가 맞지 않으면 경고창을 띄우는 스크립트
<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>
<!-- 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>
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 602 |
|
19년 전 | 2829 | |
| 601 | 19년 전 | 3057 | ||
| 600 |
|
19년 전 | 2141 | |
| 599 | 19년 전 | 1991 | ||
| 598 | 19년 전 | 2463 | ||
| 597 | 19년 전 | 2363 | ||
| 596 |
|
19년 전 | 3095 | |
| 595 |
|
19년 전 | 6754 | |
| 594 | 19년 전 | 2701 | ||
| 593 | 19년 전 | 3191 | ||
| 592 |
|
19년 전 | 3083 | |
| 591 |
|
19년 전 | 1938 | |
| 590 | 19년 전 | 3370 | ||
| 589 | 19년 전 | 2199 | ||
| 588 |
|
19년 전 | 2713 | |
| 587 | 19년 전 | 2358 | ||
| 586 |
|
19년 전 | 4363 | |
| 585 | 19년 전 | 2478 | ||
| 584 | 19년 전 | 2747 | ||
| 583 |
|
19년 전 | 3509 | |
| 582 |
|
19년 전 | 3711 | |
| 581 |
|
19년 전 | 3234 | |
| 580 | 19년 전 | 2488 | ||
| 579 | 19년 전 | 3048 | ||
| 578 | 19년 전 | 3899 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기