몇번 클릭하면 하얀화면만 소스보기해보면 아래와 같음

· 22년 전 · 927
어떨땐 메인이 잘 나오고 새로고침 하다보면 가끔 하얀화면만나오는데요.
소소보기해보면 스크립트에서 끝겨버리는거 같은데요.
안되면 계속안되야지 10번중에 3번은 안되고 7번정도는 나오는데 뭐가 문제인가요?

-----------------------------
위에꺼는 생략-----------------------

<!-- 외부 로그인 끝 -->
<br>
<a href="..">홈</a> | <a href="../bbs/gnuboard.php?bo_table=GoodsSpeed">여행문의</a><br><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 - 10;
} else {
x = event.clientX + document.body.scrollLeft;
}
x = x + 10;

if (event.clientY + obj.offsetHeight > document.body.clientHeight) {
y = event.clientY + document.body.scrollTop - obj.offsetHeight;
} else {
y = event.clientY + document.body.scrollTop;
}
y = y + 5;

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, dir)
{
var body = "";
var height = 0;

if (id) {
body += "<tr><td align=center height=20 bgcolor=#FFFFFF><a href=\"javascript:;\" onclick=\"window.open('"+dir+"/mbmemoform.php?me_recv_mb_id="+id+"', 'mbmemo', 'left=50,top=50,width=500,height=400,scrollbars=1');\">쪽지보내기</a></td></tr>";
height += 20;
}

if (name) {
body += "<tr><td align=center height=20 bgcolor=#FFFFFF><a href='"+dir+"/gnuboard.php?bo_table=GoodsSpeed&sselect=wr_name&stext="+name+"'>이름으로 검색</a></td></tr>";
height += 20;
}
-----------------------------소스보기해서 마지막부분인데요---------------------------------
|
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

+
제목 글쓴이 날짜 조회
22년 전 조회 897
22년 전 조회 917
22년 전 조회 869
22년 전 조회 832
22년 전 조회 1,133
22년 전 조회 1,099
22년 전 조회 1,034
22년 전 조회 887
22년 전 조회 956
22년 전 조회 928
22년 전 조회 863
22년 전 조회 1,007
22년 전 조회 970
22년 전 조회 925
22년 전 조회 1,005
22년 전 조회 945
22년 전 조회 861
22년 전 조회 906
22년 전 조회 1,275
22년 전 조회 966