홈페이지를 거의 완성했는데... 왜 자꾸 오류가 있다고 하는건지...-_-;;; 정보
홈페이지를 거의 완성했는데... 왜 자꾸 오류가 있다고 하는건지...-_-;;;본문
브라우저 하단에 자꾸 작업을 마쳤으나 페이지에 오류가 있습니다 라는 메세지가 뜨구요...
어제까지는 그런 메세지만 떴었는데.. 오늘은 홈페이지를 보다가 보면 갑자기 익스플로러에 오류가 나면서
브라우저가 꺼져버리네요.... 특히 로그인상태일때 더 자주 그러는것같구요...
대체 무슨 문제일까요.... 홈페이지만 봐서 아실수 있을지 모르겠지만..
원인을 알수가 없어서 이곳에 부탁드려봅니다...
홈페이지는 http://lusoj.x-y.net/new.html 이곳에서 확인하시면 됩니다..
부탁드려요..흑흑
댓글 전체
function WriteEmbed(emb_id){
document.write(document.getElementById(emb_id).value);
}
embed_patch.js 내용인데요..
이파일이 문제인건가요??
구체적으로 알려주심 감사..ㅠㅠ
document.write(document.getElementById(emb_id).value);
}
embed_patch.js 내용인데요..
이파일이 문제인건가요??
구체적으로 알려주심 감사..ㅠㅠ
embed_patch.js 파일의 닫는 괄호가 없어요!
마지막에 } 추가해주시면 될것같습니다.
으흐흐흐흐흐흐흐흐흐흐
마지막에 } 추가해주시면 될것같습니다.
으흐흐흐흐흐흐흐흐흐흐
세번째줄에 닫는 괄호 있는데요....ㅠㅠㅠㅠ
그리고 이 js파일의 문제라면 관리자화면에서는 오류가 없어야하는데
관리자화면에서도 브라우저밑에 페이지에오류가 있다는 메세지가 나옵니다..
도움 좀 부탁드립니다..ㅠㅠ
오픈하기전에 없애고 싶은데..
차라리 브라우저 밑에 메세지를 강제로 안나오게 하는방법같은건 없을지...ㅠㅠ
그리고 이 js파일의 문제라면 관리자화면에서는 오류가 없어야하는데
관리자화면에서도 브라우저밑에 페이지에오류가 있다는 메세지가 나옵니다..
도움 좀 부탁드립니다..ㅠㅠ
오픈하기전에 없애고 싶은데..
차라리 브라우저 밑에 메세지를 강제로 안나오게 하는방법같은건 없을지...ㅠㅠ
js/sideview.js 파일을 확인해 보세요. 마지막 닫는 괄호 } 가 빠져 있습니다.
그래서 오류가 나왔던것 같습니다.
그래서 오류가 나왔던것 같습니다.
답변 감사합니다 sideview 내용인데요
정확히 어느부분인지 알려주시면 감사드릴께요..
지금 이거땜에 미치겠네요..ㅠㅠ
if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
{
if (typeof g4_is_member == 'undefined')
alert('g4_is_member 변수가 선언되지 않았습니다. js/sideview.js');
if (typeof g4_path == 'undefined')
alert('g4_path 변수가 선언되지 않았습니다. js/sideview.js');
var SIDEVIEW_JS = true;
// 아래의 소스코드는 daum.net 카페의 자바스크립트를 참고하였습니다.
// 회원이름 클릭시 회원정보등을 보여주는 레이어
function insertHead(name, text, evt)
{
var idx = this.heads.length;
var row = new SideViewRow(-idx, name, text, evt);
this.heads[idx] = row;
return row;
}
function insertTail(name, evt)
{
var idx = this.tails.length;
var row = new SideViewRow(idx, name, evt);
this.tails[idx] = row;
return row;
}
function SideViewRow(idx, name, onclickEvent)
{
this.idx = idx;
this.name = name;
this.onclickEvent = onclickEvent;
this.renderRow = renderRow;
this.isVisible = true;
this.isDim = false;
}
function renderRow()
{
if (!this.isVisible)
return "";
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;
}
function showSideView(curObj, mb_id, name, email, homepage)
{
var sideView = new SideView('nameContextMenu', curObj, mb_id, name, email, homepage);
sideView.showLayer();
}
function SideView(targetObj, curObj, mb_id, name, email, homepage)
{
this.targetObj = targetObj;
this.curObj = curObj;
this.mb_id = mb_id;
name = name.replace(/…/g,"");
this.name = name;
this.email = email;
this.homepage = homepage;
this.showLayer = showLayer;
this.makeNameContextMenus = makeNameContextMenus;
this.heads = new Array();
this.insertHead = insertHead;
this.tails = new Array();
this.insertTail = insertTail;
this.getRow = getRow;
this.hideRow = hideRow;
this.dimRow = dimRow;
// 회원이라면 // (비회원의 경우 검색 없음)
//if (g4_is_member) {
if(g4_mb_level >= 10) {
// 쪽지보내기
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>");
}
}
function showLayer()
{
clickAreaCheck = true;
var oSideViewLayer = document.getElementById(this.targetObj);
var oBody = document.body;
if (oSideViewLayer == null) {
oSideViewLayer = document.createElement("DIV");
oSideViewLayer.id = this.targetObj;
oSideViewLayer.style.position = 'absolute';
oBody.appendChild(oSideViewLayer);
}
oSideViewLayer.innerHTML = this.makeNameContextMenus();
if (getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + oSideViewLayer.scrollHeight + 5 > oBody.scrollHeight)
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - oSideViewLayer.scrollHeight;
else
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) + this.curObj.offsetHeight;
oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - this.curObj.offsetWidth + 14;
divDisplay(this.targetObj, 'block');
selectBoxHidden(this.targetObj);
}
function getAbsoluteTop(oNode)
{
var oCurrentNode=oNode;
var iTop=0;
while(oCurrentNode.tagName!="BODY") {
iTop+=oCurrentNode.offsetTop - oCurrentNode.scrollTop;
oCurrentNode=oCurrentNode.offsetParent;
}
return iTop;
}
function getAbsoluteLeft(oNode)
{
var oCurrentNode=oNode;
var iLeft=0;
iLeft+=oCurrentNode.offsetWidth;
while(oCurrentNode.tagName!="BODY") {
iLeft+=oCurrentNode.offsetLeft;
oCurrentNode=oCurrentNode.offsetParent;
}
return iLeft;
}
function makeNameContextMenus()
{
var str = "<table border='0' cellpadding='0' cellspacing='0' width='90' style='border:1px solid #E0E0E0;' bgcolor='#F9FBFB'>";
var i=0;
for (i=this.heads.length - 1; i >= 0; i--)
str += this.heads[i].renderRow();
var j=0;
for (j=0; j < this.tails.length; j++)
str += this.tails[j].renderRow();
str += "</table>";
return str;
}
function getRow(name)
{
var i = 0;
var row = null;
for (i=0; i<this.heads.length; ++i)
{
row = this.heads[i];
if (row.name == name) return row;
}
for (i=0; i<this.tails.length; ++i)
{
row = this.tails[i];
if (row.name == name) return row;
}
return row;
}
function hideRow(name)
{
var row = this.getRow(name);
if (row != null)
row.isVisible = false;
}
function dimRow(name)
{
var row = this.getRow(name);
if (row != null)
row.isDim = true;
}
// Internet Explorer에서 셀렉트박스와 레이어가 겹칠시 레이어가 셀렉트 박스 뒤로 숨는 현상을 해결하는 함수
// 레이어가 셀렉트 박스를 침범하면 셀렉트 박스를 hidden 시킴
// <div id=LayerID style="display:none; position:absolute;" onpropertychange="selectBoxHidden('LayerID')">
function selectBoxHidden(layer_id)
{
//var ly = eval(layer_id);
var ly = document.getElementById(layer_id);
// 레이어 좌표
var ly_left = ly.offsetLeft;
var ly_top = ly.offsetTop;
var ly_right = ly.offsetLeft + ly.offsetWidth;
var ly_bottom = ly.offsetTop + ly.offsetHeight;
// 셀렉트박스의 좌표
var el;
for (i=0; i<document.forms.length; i++) {
for (k=0; k<document.forms[i].length; k++) {
el = document.forms[i].elements[k];
if (el.type == "select-one") {
var el_left = el_top = 0;
var obj = el;
if (obj.offsetParent) {
while (obj.offsetParent) {
el_left += obj.offsetLeft;
el_top += obj.offsetTop;
obj = obj.offsetParent;
}
}
el_left += el.clientLeft;
el_top += el.clientTop;
el_right = el_left + el.clientWidth;
el_bottom = el_top + el.clientHeight;
// 좌표를 따져 레이어가 셀렉트 박스를 침범했으면 셀렉트 박스를 hidden 시킴
if ( (el_left >= ly_left && el_top >= ly_top && el_left <= ly_right && el_top <= ly_bottom) ||
(el_right >= ly_left && el_right <= ly_right && el_top >= ly_top && el_top <= ly_bottom) ||
(el_left >= ly_left && el_bottom >= ly_top && el_right <= ly_right && el_bottom <= ly_bottom) ||
(el_left >= ly_left && el_left <= ly_right && el_bottom >= ly_top && el_bottom <= ly_bottom) ||
(el_top <= ly_bottom && el_left <= ly_left && el_right >= ly_right)
)
el.style.visibility = 'hidden';
}
}
}
}
// 감추어진 셀렉트 박스를 모두 보이게 함
function selectBoxVisible()
{
for (i=0; i<document.forms.length; i++)
{
for (k=0; k<document.forms[i].length; k++)
{
el = document.forms[i].elements[k];
if (el.type == "select-one" && el.style.visibility == 'hidden')
el.style.visibility = 'visible';
}
}
}
function getAbsoluteTop(oNode)
{
var oCurrentNode=oNode;
var iTop=0;
while(oCurrentNode.tagName!="BODY") {
iTop+=oCurrentNode.offsetTop - oCurrentNode.scrollTop;
oCurrentNode=oCurrentNode.offsetParent;
}
return iTop;
}
function getAbsoluteLeft(oNode)
{
var oCurrentNode=oNode;
var iLeft=0;
iLeft+=oCurrentNode.offsetWidth;
while(oCurrentNode.tagName!="BODY") {
iLeft+=oCurrentNode.offsetLeft;
oCurrentNode=oCurrentNode.offsetParent;
}
return iLeft;
}
function divDisplay(id, act)
{
selectBoxVisible();
document.getElementById(id).style.display = act;
}
function hideSideView()
{
if (document.getElementById("nameContextMenu"))
divDisplay ("nameContextMenu", 'none');
}
var clickAreaCheck = false;
document.onclick = function()
{
if (!clickAreaCheck)
hideSideView();
else
clickAreaCheck = false;
}
}
정확히 어느부분인지 알려주시면 감사드릴께요..
지금 이거땜에 미치겠네요..ㅠㅠ
if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
{
if (typeof g4_is_member == 'undefined')
alert('g4_is_member 변수가 선언되지 않았습니다. js/sideview.js');
if (typeof g4_path == 'undefined')
alert('g4_path 변수가 선언되지 않았습니다. js/sideview.js');
var SIDEVIEW_JS = true;
// 아래의 소스코드는 daum.net 카페의 자바스크립트를 참고하였습니다.
// 회원이름 클릭시 회원정보등을 보여주는 레이어
function insertHead(name, text, evt)
{
var idx = this.heads.length;
var row = new SideViewRow(-idx, name, text, evt);
this.heads[idx] = row;
return row;
}
function insertTail(name, evt)
{
var idx = this.tails.length;
var row = new SideViewRow(idx, name, evt);
this.tails[idx] = row;
return row;
}
function SideViewRow(idx, name, onclickEvent)
{
this.idx = idx;
this.name = name;
this.onclickEvent = onclickEvent;
this.renderRow = renderRow;
this.isVisible = true;
this.isDim = false;
}
function renderRow()
{
if (!this.isVisible)
return "";
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;
}
function showSideView(curObj, mb_id, name, email, homepage)
{
var sideView = new SideView('nameContextMenu', curObj, mb_id, name, email, homepage);
sideView.showLayer();
}
function SideView(targetObj, curObj, mb_id, name, email, homepage)
{
this.targetObj = targetObj;
this.curObj = curObj;
this.mb_id = mb_id;
name = name.replace(/…/g,"");
this.name = name;
this.email = email;
this.homepage = homepage;
this.showLayer = showLayer;
this.makeNameContextMenus = makeNameContextMenus;
this.heads = new Array();
this.insertHead = insertHead;
this.tails = new Array();
this.insertTail = insertTail;
this.getRow = getRow;
this.hideRow = hideRow;
this.dimRow = dimRow;
// 회원이라면 // (비회원의 경우 검색 없음)
//if (g4_is_member) {
if(g4_mb_level >= 10) {
// 쪽지보내기
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>");
}
}
function showLayer()
{
clickAreaCheck = true;
var oSideViewLayer = document.getElementById(this.targetObj);
var oBody = document.body;
if (oSideViewLayer == null) {
oSideViewLayer = document.createElement("DIV");
oSideViewLayer.id = this.targetObj;
oSideViewLayer.style.position = 'absolute';
oBody.appendChild(oSideViewLayer);
}
oSideViewLayer.innerHTML = this.makeNameContextMenus();
if (getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + oSideViewLayer.scrollHeight + 5 > oBody.scrollHeight)
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - oSideViewLayer.scrollHeight;
else
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) + this.curObj.offsetHeight;
oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - this.curObj.offsetWidth + 14;
divDisplay(this.targetObj, 'block');
selectBoxHidden(this.targetObj);
}
function getAbsoluteTop(oNode)
{
var oCurrentNode=oNode;
var iTop=0;
while(oCurrentNode.tagName!="BODY") {
iTop+=oCurrentNode.offsetTop - oCurrentNode.scrollTop;
oCurrentNode=oCurrentNode.offsetParent;
}
return iTop;
}
function getAbsoluteLeft(oNode)
{
var oCurrentNode=oNode;
var iLeft=0;
iLeft+=oCurrentNode.offsetWidth;
while(oCurrentNode.tagName!="BODY") {
iLeft+=oCurrentNode.offsetLeft;
oCurrentNode=oCurrentNode.offsetParent;
}
return iLeft;
}
function makeNameContextMenus()
{
var str = "<table border='0' cellpadding='0' cellspacing='0' width='90' style='border:1px solid #E0E0E0;' bgcolor='#F9FBFB'>";
var i=0;
for (i=this.heads.length - 1; i >= 0; i--)
str += this.heads[i].renderRow();
var j=0;
for (j=0; j < this.tails.length; j++)
str += this.tails[j].renderRow();
str += "</table>";
return str;
}
function getRow(name)
{
var i = 0;
var row = null;
for (i=0; i<this.heads.length; ++i)
{
row = this.heads[i];
if (row.name == name) return row;
}
for (i=0; i<this.tails.length; ++i)
{
row = this.tails[i];
if (row.name == name) return row;
}
return row;
}
function hideRow(name)
{
var row = this.getRow(name);
if (row != null)
row.isVisible = false;
}
function dimRow(name)
{
var row = this.getRow(name);
if (row != null)
row.isDim = true;
}
// Internet Explorer에서 셀렉트박스와 레이어가 겹칠시 레이어가 셀렉트 박스 뒤로 숨는 현상을 해결하는 함수
// 레이어가 셀렉트 박스를 침범하면 셀렉트 박스를 hidden 시킴
// <div id=LayerID style="display:none; position:absolute;" onpropertychange="selectBoxHidden('LayerID')">
function selectBoxHidden(layer_id)
{
//var ly = eval(layer_id);
var ly = document.getElementById(layer_id);
// 레이어 좌표
var ly_left = ly.offsetLeft;
var ly_top = ly.offsetTop;
var ly_right = ly.offsetLeft + ly.offsetWidth;
var ly_bottom = ly.offsetTop + ly.offsetHeight;
// 셀렉트박스의 좌표
var el;
for (i=0; i<document.forms.length; i++) {
for (k=0; k<document.forms[i].length; k++) {
el = document.forms[i].elements[k];
if (el.type == "select-one") {
var el_left = el_top = 0;
var obj = el;
if (obj.offsetParent) {
while (obj.offsetParent) {
el_left += obj.offsetLeft;
el_top += obj.offsetTop;
obj = obj.offsetParent;
}
}
el_left += el.clientLeft;
el_top += el.clientTop;
el_right = el_left + el.clientWidth;
el_bottom = el_top + el.clientHeight;
// 좌표를 따져 레이어가 셀렉트 박스를 침범했으면 셀렉트 박스를 hidden 시킴
if ( (el_left >= ly_left && el_top >= ly_top && el_left <= ly_right && el_top <= ly_bottom) ||
(el_right >= ly_left && el_right <= ly_right && el_top >= ly_top && el_top <= ly_bottom) ||
(el_left >= ly_left && el_bottom >= ly_top && el_right <= ly_right && el_bottom <= ly_bottom) ||
(el_left >= ly_left && el_left <= ly_right && el_bottom >= ly_top && el_bottom <= ly_bottom) ||
(el_top <= ly_bottom && el_left <= ly_left && el_right >= ly_right)
)
el.style.visibility = 'hidden';
}
}
}
}
// 감추어진 셀렉트 박스를 모두 보이게 함
function selectBoxVisible()
{
for (i=0; i<document.forms.length; i++)
{
for (k=0; k<document.forms[i].length; k++)
{
el = document.forms[i].elements[k];
if (el.type == "select-one" && el.style.visibility == 'hidden')
el.style.visibility = 'visible';
}
}
}
function getAbsoluteTop(oNode)
{
var oCurrentNode=oNode;
var iTop=0;
while(oCurrentNode.tagName!="BODY") {
iTop+=oCurrentNode.offsetTop - oCurrentNode.scrollTop;
oCurrentNode=oCurrentNode.offsetParent;
}
return iTop;
}
function getAbsoluteLeft(oNode)
{
var oCurrentNode=oNode;
var iLeft=0;
iLeft+=oCurrentNode.offsetWidth;
while(oCurrentNode.tagName!="BODY") {
iLeft+=oCurrentNode.offsetLeft;
oCurrentNode=oCurrentNode.offsetParent;
}
return iLeft;
}
function divDisplay(id, act)
{
selectBoxVisible();
document.getElementById(id).style.display = act;
}
function hideSideView()
{
if (document.getElementById("nameContextMenu"))
divDisplay ("nameContextMenu", 'none');
}
var clickAreaCheck = false;
document.onclick = function()
{
if (!clickAreaCheck)
hideSideView();
else
clickAreaCheck = false;
}
}
해결방법을 못찾았습니다.. 질문 다시 올려볼께요 답변해주신분들 감사..(__)
헉스~ 제가 정확하게 짚어드렸어야 했는데... 정확히 짚어드릴께요~
js/sideview.js 내용중에서 보시면요
// 회원이라면 // (비회원의 경우 검색 없음)
//if (g4_is_member) {
if(g4_mb_level >= 10) {
// 쪽지보내기
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_mb_level >= 10) { 라고 있는 데요... 원래 기본 소스에는 없는 내용입니다.
아마도 최고관리자만 메일보내기,홈페이지,자기소개 볼 수 있도록 하려고 하셨던것 같은데요.... 사용 안하시려면 그냥 지우시구요. 최고관리자만 사용할 수 있도록 하시려면 //} 를 } 로 바꾸세요~
js/sideview.js 내용중에서 보시면요
// 회원이라면 // (비회원의 경우 검색 없음)
//if (g4_is_member) {
if(g4_mb_level >= 10) {
// 쪽지보내기
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_mb_level >= 10) { 라고 있는 데요... 원래 기본 소스에는 없는 내용입니다.
아마도 최고관리자만 메일보내기,홈페이지,자기소개 볼 수 있도록 하려고 하셨던것 같은데요.... 사용 안하시려면 그냥 지우시구요. 최고관리자만 사용할 수 있도록 하시려면 //} 를 } 로 바꾸세요~
감사합니다..ㅠㅠ 수정했는데요
수정하니까 원래 오류가 두개가 나왔었는데 하나로 줄었네요..;;에구 하나 해결..ㅎㅎ
감사.. 근데 또 나머지 하나가 뭔지 모르겠네요.. 448줄 구문오류라고 나오는데요..;;;
이것도 혹시 아시면 답변 주시면 정말정말정말 감사드리겠습니다..흑..
수정하니까 원래 오류가 두개가 나왔었는데 하나로 줄었네요..;;에구 하나 해결..ㅎㅎ
감사.. 근데 또 나머지 하나가 뭔지 모르겠네요.. 448줄 구문오류라고 나오는데요..;;;
이것도 혹시 아시면 답변 주시면 정말정말정말 감사드리겠습니다..흑..
헉스~ 또 괄호 문제 군요. ㅋ~
js/wrest.js 파일 319라인 보시면요
at = sum % 10;} 라고 나옵니다.
닫는괄호 } 를 삭제하세요~
수고하세요~
js/wrest.js 파일 319라인 보시면요
at = sum % 10;} 라고 나옵니다.
닫는괄호 } 를 삭제하세요~
수고하세요~
해결했습니다... 드디어...흑흑흑..
넘넘 감사드리고 또 감사드립니다...
복받으실거예요~!! 좋은하루 보내세요^^
넘넘 감사드리고 또 감사드립니다...
복받으실거예요~!! 좋은하루 보내세요^^