테스트 사이트 - 개발 중인 베타 버전입니다

브라우저의 종류에 따라 다른 새로운 페이지 띄우기

· 19년 전 · 1922
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
netscape = "netscape.html"; // set your browser pages
explorer = "explorer.html";
unknown = "unknown.html";

// Determine the popup window properties
// options include: top, left, toolbars, scrollbars,
// menubar, location, statusbar, and resizable

windowprops = "top=0,left=0,resizable=yes"
+ ",width=" + screen.width + ",height=" + screen.height;

ns = (navigator.appName == 'Netscape');
ie = (navigator.appName == 'Microsoft Internet Explorer');
url = (!ns & !ie) ? unknown : ( ns ? netscape : explorer);
window.open(url, "popupPage", windowprops);
// End -->
</script>

</HEAD><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>

댓글 작성

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

로그인하기

게시글 목록

번호 제목
11424
20668
11420
20222
11418
11416
11413
11410
11408
11407
11402
11397
11385
11382
11379
20665
11375
11373
11369
11368
20205
11360
11354
11352
11349