운영자님 이거 왜그럴까요 ㅠ.ㅠ 정보
그누보드 운영자님 이거 왜그럴까요 ㅠ.ㅠ본문
안녕하세요.
다름이 아니라 꼭 gblayer 부분에서 멈춰 버려요 ㅠ.ㅠ
계속 멈추면 좋겠지만
멈췄다가 안 멈췄다가 ㅠ.ㅠ
F5(리로드) 하면은 CPU 100% 까지 올라가 버리고요 ㅠ.ㅠ
레이어 부분을 완전 삭제 하면 문제 없고요 ㅠ.ㅠ
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=euc-kr'>
<title>test</title>
<link rel='stylesheet' href='./../style.css' type='text/css'>
</head>
<script language='JavaScript' src='./../javascript.js'></script>
<body leftmargin='5' topmargin='5' >
<!-- 상단 책갈피 -->
<a name='gnuboard_head'></a>
<script language='JavaScript'>
function gblayeraction(name, status)
{
// event.clientX : 클릭한곳의 X 좌표
// event.clientY : 클릭한곳의 Y 좌표
// obj.offsetWidth : DIV 오브젝트의 폭
// obj.offsetHeight : DIV 오브젝트의 높이
// document.body.clientWidth : 브라우저의 폭
// document.body.clientHeight : 브라우저의 높이
// document.body.scrollLeft : 스크롤 Left
// document.body.scrollTop : 스크롤 Top
// obj.style.posLeft : DIV 오브젝트의 X 좌표
// obj.style.posTop : DIV 오브젝트의 Y 좌표
var obj = document.all[name];
if (typeof(obj) == 'undefined') {
return;
}
var x, y;
if (event.clientX + obj.offsetWidth > document.body.clientWidth) {
x = event.clientX + document.body.scrollLeft - obj.offsetWidth + 45;
} else {
x = event.clientX + document.body.scrollLeft;
}
x = x - 20;
if (event.clientY + obj.offsetHeight > document.body.clientHeight) {
y = event.clientY + document.body.scrollTop - obj.offsetHeight + 45;
} else {
y = event.clientY + document.body.scrollTop;
}
y = y - 20;
obj.style.posLeft = x;
obj.style.posTop = y;
if (status) {
obj.style.visibility = status;
} else {
if(obj.style.visibility == 'visible')
obj.style.visibility='hidden';
else
obj.style.visibility='visible';
if (typeof(before_obj) != 'undefined') {
if (before_obj != obj)
before_obj.style.visibility = 'hidden';
}
}
before_obj = obj;
}
function gblayer(layername, id, name, email, homepage, profile, dir)
{
var body = "";
var height = 0;
if (id) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+dir+"/mbmemoform.php?me_recv_mb_id="+id+"', 'mbmemo', 'left=50,top=50,width=500,height=400,scrollbars=1');\"><td align=center height=20> 쪽지보내기 </td></tr>";
height += 20;
}
if (name) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"location.href='"+dir+"/board.php?bo_table=free&sselect=wr_name&stext="+name+"';\"><td align=center height=20> 이름으로 검색 </td></tr>";
height += 20;
}
if (email) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+dir+"/formmail.php?mb_id="+id+"&name="+name+"&email="+email+"', 'formmail', 'left=50,top=50,width=500,height=350,scrollbars=1');\"><td align=center height=20> 메일보내기 </td></tr>";
height += 20;
}
if (homepage) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+homepage+"');\"><td align=center height=20> 홈페이지 </td></tr>";
height += 20;
}
if (parseInt(profile)) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+dir+"/mbprofile.php?mb_id="+id+"', 'mbprofile', 'left=50,top=50,width=500,height=400,scrollbars=1');\"><td align=center height=20> 자기소개 </td></tr>";
height += 20;
}
if (body) {
var head = "<div id="+layername+" style='position:absolute; left:1px;
대충 딱 이부분에서 멈춰 버리네요.
왜그럴까요 ㅠ.ㅠ
테스트는 XP 1대 2000에서 1대
컴퓨터는 CPU : 2.4C
ram : 1기가
두 컴퓨터다 똑같은 사양 입니다.
서버는 : 리눅스
Red Hat Linux release 7.3 (Valhalla)
Kernel 2.4.18-3
PHP : Version 4.1.2
MYsql :Client API version 3.23.54
그럼 좋은 하루되세요.
다름이 아니라 꼭 gblayer 부분에서 멈춰 버려요 ㅠ.ㅠ
계속 멈추면 좋겠지만
멈췄다가 안 멈췄다가 ㅠ.ㅠ
F5(리로드) 하면은 CPU 100% 까지 올라가 버리고요 ㅠ.ㅠ
레이어 부분을 완전 삭제 하면 문제 없고요 ㅠ.ㅠ
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=euc-kr'>
<title>test</title>
<link rel='stylesheet' href='./../style.css' type='text/css'>
</head>
<script language='JavaScript' src='./../javascript.js'></script>
<body leftmargin='5' topmargin='5' >
<!-- 상단 책갈피 -->
<a name='gnuboard_head'></a>
<script language='JavaScript'>
function gblayeraction(name, status)
{
// event.clientX : 클릭한곳의 X 좌표
// event.clientY : 클릭한곳의 Y 좌표
// obj.offsetWidth : DIV 오브젝트의 폭
// obj.offsetHeight : DIV 오브젝트의 높이
// document.body.clientWidth : 브라우저의 폭
// document.body.clientHeight : 브라우저의 높이
// document.body.scrollLeft : 스크롤 Left
// document.body.scrollTop : 스크롤 Top
// obj.style.posLeft : DIV 오브젝트의 X 좌표
// obj.style.posTop : DIV 오브젝트의 Y 좌표
var obj = document.all[name];
if (typeof(obj) == 'undefined') {
return;
}
var x, y;
if (event.clientX + obj.offsetWidth > document.body.clientWidth) {
x = event.clientX + document.body.scrollLeft - obj.offsetWidth + 45;
} else {
x = event.clientX + document.body.scrollLeft;
}
x = x - 20;
if (event.clientY + obj.offsetHeight > document.body.clientHeight) {
y = event.clientY + document.body.scrollTop - obj.offsetHeight + 45;
} else {
y = event.clientY + document.body.scrollTop;
}
y = y - 20;
obj.style.posLeft = x;
obj.style.posTop = y;
if (status) {
obj.style.visibility = status;
} else {
if(obj.style.visibility == 'visible')
obj.style.visibility='hidden';
else
obj.style.visibility='visible';
if (typeof(before_obj) != 'undefined') {
if (before_obj != obj)
before_obj.style.visibility = 'hidden';
}
}
before_obj = obj;
}
function gblayer(layername, id, name, email, homepage, profile, dir)
{
var body = "";
var height = 0;
if (id) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+dir+"/mbmemoform.php?me_recv_mb_id="+id+"', 'mbmemo', 'left=50,top=50,width=500,height=400,scrollbars=1');\"><td align=center height=20> 쪽지보내기 </td></tr>";
height += 20;
}
if (name) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"location.href='"+dir+"/board.php?bo_table=free&sselect=wr_name&stext="+name+"';\"><td align=center height=20> 이름으로 검색 </td></tr>";
height += 20;
}
if (email) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+dir+"/formmail.php?mb_id="+id+"&name="+name+"&email="+email+"', 'formmail', 'left=50,top=50,width=500,height=350,scrollbars=1');\"><td align=center height=20> 메일보내기 </td></tr>";
height += 20;
}
if (homepage) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+homepage+"');\"><td align=center height=20> 홈페이지 </td></tr>";
height += 20;
}
if (parseInt(profile)) {
body += "<tr onmouseover=this.style.backgroundColor='#ffffff' onmouseout=this.style.backgroundColor='#e5e5e5' onmousedown=\"window.open('"+dir+"/mbprofile.php?mb_id="+id+"', 'mbprofile', 'left=50,top=50,width=500,height=400,scrollbars=1');\"><td align=center height=20> 자기소개 </td></tr>";
height += 20;
}
if (body) {
var head = "<div id="+layername+" style='position:absolute; left:1px;
대충 딱 이부분에서 멈춰 버리네요.
왜그럴까요 ㅠ.ㅠ
테스트는 XP 1대 2000에서 1대
컴퓨터는 CPU : 2.4C
ram : 1기가
두 컴퓨터다 똑같은 사양 입니다.
서버는 : 리눅스
Red Hat Linux release 7.3 (Valhalla)
Kernel 2.4.18-3
PHP : Version 4.1.2
MYsql :Client API version 3.23.54
그럼 좋은 하루되세요.
댓글 전체

글쎄요...
다른 프로젝트를 진행할때 전에도 이런 현상이 발생한적이 있었습니다.
세션부분의 버그로 알고 있는데요.
저도 잘 모르겠네요.
다른 프로젝트를 진행할때 전에도 이런 현상이 발생한적이 있었습니다.
세션부분의 버그로 알고 있는데요.
저도 잘 모르겠네요.