E

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

· 2006-05-11 (목) 10:49:01 · 1962
<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>
|
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
06-05-11 조회 3,151
06-05-11 조회 2,944
06-05-11 조회 1,909
06-05-11 조회 1,961
06-05-11 조회 3,160
06-05-11 조회 2,378
06-05-11 조회 3,629
06-05-11 조회 2,586
06-05-11 조회 1,864
06-05-11 조회 2,476
06-05-11 조회 1,736
06-05-11 조회 1,414
06-05-11 조회 1,551
06-05-11 조회 1,817
06-05-11 조회 1,587
06-05-11 조회 1,799
06-05-11 조회 1,578
06-05-11 조회 1,963
06-05-11 조회 1,864
06-05-11 조회 1,460
06-05-11 조회 1,461
06-05-11 조회 1,376
06-05-11 조회 1,253
06-05-11 조회 1,418
06-05-11 조회 1,998