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

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

· 19년 전 · 1921
<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>

댓글 작성

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

로그인하기

게시글 목록

번호 제목
11590
11589
20278
11588
20272
20269
11587
11586
11582
20267
11581
11579
11577
11575
11574
11573
11572
11571
11570
11568
11566
11565
11564
11563
11562