게시판에서 작성자를 클릭하면 나오는 레이어 메뉴 수정방법 질문. 정보
게시판에서 작성자를 클릭하면 나오는 레이어 메뉴 수정방법 질문.본문
사이트에 웹폰트를 적용했는데, 다 잘 적용이 되었지만
게시판 목록에서 작성자를 누르면 나오는 레이어 메뉴의 폰트는 수정이 안되더군요.
이 메뉴의 폰트와 크기를 수정하는 위치가 어디인지 알려주시면 고맙겠습니다^^
댓글 전체
js/sideview.js 의 44줄 부근 입니다..
var str = "<tr height='19'><td id='sideViewRow_"+this.name+"'> <font color=gray>·</font> <span style='color: #A0A0A0; font-family: 돋움; font-size: 11px;'>"+this.onclickEvent+"</span></td></tr>";
return str;
var str = "<tr height='19'><td id='sideViewRow_"+this.name+"'> <font color=gray>·</font> <span style='color: #A0A0A0; font-family: 돋움; font-size: 11px;'>"+this.onclickEvent+"</span></td></tr>";
return str;
그부분을 수정해도 웹폰트가 적용되지 않더라구요...
http://hosting.aseyo.org 요기거든요...
http://hosting.aseyo.org 요기거든요...
lib/common.lib.php 의 840 줄부근도 참조하세요.
if ($mb_id) {
$tmp_name = "<span class='member'>$name</span>";
if ($config['cf_use_member_icon']) {
$mb_dir = substr($mb_id,0,2);
$icon_file = "$g4[path]/data/member/$mb_dir/$mb_id.gif";
//if (file_exists($icon_file) && is_file($icon_file)) {
if (file_exists($icon_file)) {
//$size = getimagesize($icon_file);
//$width = $size[0];
//$height = $size[1];
$width = $config['cf_member_icon_width'];
$height = $config['cf_member_icon_height'];
$tmp_name = "<img src='$icon_file' width='$width' height='$height' align='absmiddle' border='0'>";
if ($config['cf_use_member_icon'] == 2) // 회원아이콘+이름
$tmp_name = $tmp_name . " <span class='member'>$name</span>";
}
}
$title_mb_id = "[$mb_id]";
} else {
$tmp_name = "<span class='guest'>$name</span>";
$title_mb_id = "[비회원]";
}
return "<a href=\"javascript:;\" onClick=\"showSideView(this, '$mb_id', '$name', '$email', '$homepage');\" title=\"{$title_mb_id}{$title_name}\">$tmp_name</a>";
}
if ($mb_id) {
$tmp_name = "<span class='member'>$name</span>";
if ($config['cf_use_member_icon']) {
$mb_dir = substr($mb_id,0,2);
$icon_file = "$g4[path]/data/member/$mb_dir/$mb_id.gif";
//if (file_exists($icon_file) && is_file($icon_file)) {
if (file_exists($icon_file)) {
//$size = getimagesize($icon_file);
//$width = $size[0];
//$height = $size[1];
$width = $config['cf_member_icon_width'];
$height = $config['cf_member_icon_height'];
$tmp_name = "<img src='$icon_file' width='$width' height='$height' align='absmiddle' border='0'>";
if ($config['cf_use_member_icon'] == 2) // 회원아이콘+이름
$tmp_name = $tmp_name . " <span class='member'>$name</span>";
}
}
$title_mb_id = "[$mb_id]";
} else {
$tmp_name = "<span class='guest'>$name</span>";
$title_mb_id = "[비회원]";
}
return "<a href=\"javascript:;\" onClick=\"showSideView(this, '$mb_id', '$name', '$email', '$homepage');\" title=\"{$title_mb_id}{$title_name}\">$tmp_name</a>";
}
역시나 위에 모든 부분들을 적절히 수정해도 글자가 작게 나오네요...
9px로 만들어야 하는데 어디를 수정해야 글자크기를 수정할수있는지 당췌모르겠네요...
9px로 만들어야 하는데 어디를 수정해야 글자크기를 수정할수있는지 당췌모르겠네요...
정안되면 sideview.js의 72줄 이하 이부분도....^^
// 회원이라면 // (비회원의 경우 검색 없음)
//if (g4_is_member) {
// 쪽지보내기
if (mb_id)
// 불여우 자바스크립트창이 뜨는 오류를 수정
this.insertTail("memo", "<a href=\"javascript:win_memo('"+g4_path+"/" + g4_bbs + "/memo_form.php?me_recv_mb_id="+mb_id+"');\">쪽지보내기</a>");
// 메일보내기
if (email)
this.insertTail("mail", "<a href=\"javascript:;\" onclick=\"win_formmail('"+mb_id+"','"+name+"','"+email+"');\">메일보내기</a>");
// 홈페이지
if (homepage)
this.insertTail("homepage", "<a href=\"javascript:;\" onclick=\"window.open('"+homepage+"');\">홈페이지</a>");
// 자기소개
if (mb_id)
this.insertTail("info", "<a href=\"javascript:;\" onclick=\"win_profile('"+mb_id+"');\">자기소개</a>");
//}
// 게시판테이블 아이디가 넘어왔을 경우
if (g4_bo_table) {
if (mb_id) // 회원일 경우 아이디로 검색
this.insertTail("mb_id", "<a href='"+g4_path+"/" + g4_bbs + "/board.php?bo_table="+g4_bo_table+"&sca="+g4_sca+"&sfl=mb_id,1&stx="+mb_id+"'>아이디로 검색</a>");
else // 비회원일 경우 이름으로 검색
this.insertTail("name", "<a href='"+g4_path+"/" + g4_bbs + "/board.php?bo_table="+g4_bo_table+"&sca="+g4_sca+"&sfl=wr_name,1&stx="+name+"'>이름으로 검색</a>");
}
if (mb_id)
this.insertTail("new", "<a href='"+g4_path+"/" + g4_bbs + "/new.php?mb_id="+mb_id+"'>전체게시물</a>");
// 최고관리자일 경우
if (g4_is_admin == "super") {
// 회원정보변경
if (mb_id)
this.insertTail("modify", "<a href='"+g4_path+"/" + g4_admin + "/member_form.php?w=u&mb_id="+mb_id+"' target='_blank'>회원정보변경</a>");
// 포인트내역
if (mb_id)
this.insertTail("point", "<a href='"+g4_path+"/" + g4_admin + "/point_list.php?sfl=mb_id&stx="+mb_id+"' target='_blank'>포인트내역</a>");
}
// 회원이라면 // (비회원의 경우 검색 없음)
//if (g4_is_member) {
// 쪽지보내기
if (mb_id)
// 불여우 자바스크립트창이 뜨는 오류를 수정
this.insertTail("memo", "<a href=\"javascript:win_memo('"+g4_path+"/" + g4_bbs + "/memo_form.php?me_recv_mb_id="+mb_id+"');\">쪽지보내기</a>");
// 메일보내기
if (email)
this.insertTail("mail", "<a href=\"javascript:;\" onclick=\"win_formmail('"+mb_id+"','"+name+"','"+email+"');\">메일보내기</a>");
// 홈페이지
if (homepage)
this.insertTail("homepage", "<a href=\"javascript:;\" onclick=\"window.open('"+homepage+"');\">홈페이지</a>");
// 자기소개
if (mb_id)
this.insertTail("info", "<a href=\"javascript:;\" onclick=\"win_profile('"+mb_id+"');\">자기소개</a>");
//}
// 게시판테이블 아이디가 넘어왔을 경우
if (g4_bo_table) {
if (mb_id) // 회원일 경우 아이디로 검색
this.insertTail("mb_id", "<a href='"+g4_path+"/" + g4_bbs + "/board.php?bo_table="+g4_bo_table+"&sca="+g4_sca+"&sfl=mb_id,1&stx="+mb_id+"'>아이디로 검색</a>");
else // 비회원일 경우 이름으로 검색
this.insertTail("name", "<a href='"+g4_path+"/" + g4_bbs + "/board.php?bo_table="+g4_bo_table+"&sca="+g4_sca+"&sfl=wr_name,1&stx="+name+"'>이름으로 검색</a>");
}
if (mb_id)
this.insertTail("new", "<a href='"+g4_path+"/" + g4_bbs + "/new.php?mb_id="+mb_id+"'>전체게시물</a>");
// 최고관리자일 경우
if (g4_is_admin == "super") {
// 회원정보변경
if (mb_id)
this.insertTail("modify", "<a href='"+g4_path+"/" + g4_admin + "/member_form.php?w=u&mb_id="+mb_id+"' target='_blank'>회원정보변경</a>");
// 포인트내역
if (mb_id)
this.insertTail("point", "<a href='"+g4_path+"/" + g4_admin + "/point_list.php?sfl=mb_id&stx="+mb_id+"' target='_blank'>포인트내역</a>");
}