이거 보고 좀 알려 주세요 ㅠ.ㅠ > 그누3질답

그누3질답

이거 보고 좀 알려 주세요 ㅠ.ㅠ 정보

그누보드 이거 보고 좀 알려 주세요 ㅠ.ㅠ

본문

꼭 맨끝에 저부분에 출력이 되다 안되다 하네요 ㅠ.ㅠ
옆에 컴터랑 제 컴터랑 양쪽다 테스트 해봤는데 꼭 저래요 ㅠ.ㅠ
<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>&nbsp;&nbsp;쪽지보내기&nbsp;&nbsp;</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>&nbsp;&nbsp;이름으로 검색&nbsp;&nbsp;</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>&nbsp;&nbsp;메일보내기&nbsp;&nbsp;</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>&nbsp;&nbsp;홈페이지&nbsp;&nbsp;</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>&nbsp;&nbsp;자기소개&nbsp;&nbsp;</td></tr>";
            height += 20;
        }

        if (body) {
            var head = "<div id="+layername+" style='position:absolute; left:1px;
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로