From f4c865abdde6daabf46760a4a86a12a1c5358cd2 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 30 Jan 2013 10:19:43 +0900 Subject: [PATCH] =?UTF-8?q?sideview=20=EA=B2=BD=EB=A1=9C=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 9 ++++----- js/sideview.js | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) 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", '자기소개'); //} // 게시판테이블 아이디가 넘어왔을 경우