sideview 경로 문제 해결
This commit is contained in:
@ -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)
|
||||
|
||||
@ -66,16 +66,16 @@ function SideView(targetObj, curObj, mb_id, name, email, homepage)
|
||||
// 쪽지보내기
|
||||
if (mb_id)
|
||||
// 불여우 자바스크립트창이 뜨는 오류를 수정
|
||||
this.insertTail("memo", "<a href=\"javascript:win_memo('"+g4_bbs_url+"/memo_form.php?me_recv_mb_id="+mb_id+"');\">쪽지보내기</a>");
|
||||
this.insertTail("memo", '<a href="'+g4_bbs_url+'/memo_form.php?me_recv_mb_id='+mb_id+'" onclick="win_memo(this.href); return false;">쪽지보내기</a>');
|
||||
// 메일보내기
|
||||
if (email)
|
||||
this.insertTail("mail", "<a href=\"javascript:;\" onclick=\"win_formmail('"+mb_id+"','"+name+"','"+email+"');\">메일보내기</a>");
|
||||
this.insertTail("mail", '<a href="'+g4_bbs_url+'/formmail.php?mb_id='+mb_id+'&name='+encodeURIComponent(name)+'&email='+email+'" onclick="win_email(this.href); return false;">메일보내기</a>');
|
||||
// 홈페이지
|
||||
if (homepage)
|
||||
this.insertTail("homepage", "<a href=\"javascript:;\" onclick=\"window.open('"+homepage+"');\">홈페이지</a>");
|
||||
this.insertTail("homepage", '<a href="'+homepage+'" onclick="win_homepage(this.href); return false;">홈페이지</a>');
|
||||
// 자기소개
|
||||
if (mb_id)
|
||||
this.insertTail("info", "<a href=\"javascript:;\" onclick=\"win_profile('"+mb_id+"');\">자기소개</a>");
|
||||
this.insertTail("info", '<a href="'+g4_bbs_url+'/profile.php?mb_id='+mb_id+'" onclick="win_profile(this.href); return false;">자기소개</a>');
|
||||
//}
|
||||
|
||||
// 게시판테이블 아이디가 넘어왔을 경우
|
||||
|
||||
Reference in New Issue
Block a user