E

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

· 2006-05-11 (목) 10:49:01 · 1969
<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-06-29 조회 5,030
06-06-19 조회 5,400
06-06-02 조회 2,413
06-05-24 조회 3,919
06-05-14 조회 6,715
06-05-08 조회 2,861
06-02-02 조회 4,464
05-12-16 조회 3,433
05-12-05 조회 4,109
05-06-28 조회 3,164
05-04-11 조회 3,143
05-04-11 조회 3,341
05-04-11 조회 2,400
05-03-13 조회 2,322
05-03-12 조회 3,414
04-12-08 조회 6,848
04-12-01 조회 4,285
04-11-28 조회 2,424
04-11-28 조회 2,311
04-08-05 조회 4,735
04-08-05 조회 4,094
04-08-05 조회 4,734