diff --git a/js/common.js b/js/common.js index 06728a068..bdcf69845 100644 --- a/js/common.js +++ b/js/common.js @@ -282,6 +282,7 @@ function image_window(img) if(parseInt(navigator.appVersion) >= 4){win.window.focus();} } +/* // a 태그에서 onclick 이벤트를 사용하지 않기 위해 function win_open(url, name, option) { @@ -310,17 +311,15 @@ function win_comment(url) // 폼메일 창 function win_formmail(mb_id, name, email) { - if (g4_charset.toLowerCase() == 'euc-kr') - win_open(g4_bbs_url+"/formmail.php?mb_id="+mb_id+"&name="+name+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=500, scrollbars=0"); - else - win_open(g4_bbs_url+"/formmail.php?mb_id="+mb_id+"&name="+encodeURIComponent(name)+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=480, scrollbars=0"); + win_open(g4_bbs_url+"/formmail.php?mb_id="+mb_id+"&name="+encodeURIComponent(name)+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=480, scrollbars=0"); } // 자기소개 창 function win_profile(mb_id) { - win_open(g4_path+"/" + g4_bbs + "/profile.php?mb_id="+mb_id, 'winProfile', 'left=50,top=50,width=620,height=510,scrollbars=1'); + win_open(g4_bbs_url+"/profile.php?mb_id="+mb_id, 'winProfile', 'left=50,top=50,width=620,height=510,scrollbars=1'); } +*/ var last_id = null; function menu(id) diff --git a/js/sideview.js b/js/sideview.js index c0ccea4e5..54544a063 100644 --- a/js/sideview.js +++ b/js/sideview.js @@ -66,16 +66,16 @@ function SideView(targetObj, curObj, mb_id, name, email, homepage) // 쪽지보내기 if (mb_id) // 불여우 자바스크립트창이 뜨는 오류를 수정 - this.insertTail("memo", "쪽지보내기"); + this.insertTail("memo", '쪽지보내기'); // 메일보내기 if (email) - this.insertTail("mail", "메일보내기"); + this.insertTail("mail", '메일보내기'); // 홈페이지 if (homepage) - this.insertTail("homepage", "홈페이지"); + this.insertTail("homepage", '홈페이지'); // 자기소개 if (mb_id) - this.insertTail("info", "자기소개"); + this.insertTail("info", '자기소개'); //} // 게시판테이블 아이디가 넘어왔을 경우