|
|
|
17년 전
|
조회 1,537
|
|
|
|
17년 전
|
조회 4,535
|
|
|
|
17년 전
|
조회 804
|
|
|
|
17년 전
|
조회 757
|
|
|
|
17년 전
|
조회 758
|
|
|
|
17년 전
|
조회 726
|
|
|
|
17년 전
|
조회 726
|
|
|
|
17년 전
|
조회 766
|
|
|
|
17년 전
|
조회 791
|
|
|
|
17년 전
|
조회 1,537
|
|
|
|
17년 전
|
조회 853
|
|
|
|
17년 전
|
조회 1,647
|
|
|
|
17년 전
|
조회 743
|
|
|
|
17년 전
|
조회 737
|
|
|
|
17년 전
|
조회 851
|
|
|
|
17년 전
|
조회 1,542
|
|
|
|
17년 전
|
조회 1,527
|
|
|
|
17년 전
|
조회 840
|
|
|
|
17년 전
|
조회 775
|
|
|
|
17년 전
|
조회 723
|
댓글 2개
function f_full()
{
// 현재url
var ls_url = document.URL;
// 현재윈도우의 이름이 win_full이면
// 현재윈도우를 닫고 새로운윈도우를 연다.
if(window.name == "win_full")
{
window.opener=self;
window.close();
window.open(ls_url);
}
// 그밗의 경우는 fullscreen형태로 연다.
else
{
window.opener=self;
window.close();
// 2004-02-07 새롭게 추가된 사항^^
var li_width = window.screen.width - 10;
var li_height = window.screen.height - 60;
window.open(ls_url,"win_full","width=" + li_width + ",height=" + li_height+",top=0,left=0");
}
}
온클릭 이벤트로 실험해보세요.. 제 블로그에 있던데 언제건지는 모르겠습니다.