메뉴가 나오지 않습니다,,,;;;;; > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

메뉴가 나오지 않습니다,,,;;;;; 정보

메뉴가 나오지 않습니다,,,;;;;;

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :
http://www.gracia.kr/bbs/board.php?bo_table=sample&page=0

1.
위 주소에 접하시면 하단에 자바 메뉴가 있습니다.
게시판의 List화면에서는 메뉴가 정상적으로 보이지만..
View화면으로 들어가면 메뉴가 사라집니다..
물론 상.하단의 head와 tail은 같습니다.
(수정및 글쓰기 상태에서는 메뉴가 정상적으로 보입니다.)

2.
방금 업그래이드와 세션삭제를하니 List화면에 섬네일이 안나오네요;;
스킨은 http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=58336를
사용했습니다..

소스는 다음과 같습니다.

<?
include_once("./_common.php");                        //$g4_path
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "▒ Welcome! GRACIA BEAUTY Web Site ▒";
?>
<html>
<head>
<title>▒ Welcome! GRACIA BEAUTY Web Site ▒</title>
<style type="text/css">
<!--
    #center {
        position:absolute; z-index:1; }
    #slider {
        width:477px; height:100px; position:absolute; left:0px; top:0px; z-index:1; }
    #slider .slide {
        position: absolute;
        top: 0px;
        height: 100px;
        width: 300px;
        background: #000;
        overflow: hidden;
        border-left: #000 solid 1px;
        cursor: default;
    }
    #slider .title  { /*서브메뉴제목*/
        color: #FFF;
        font-weight: bold;
        font-size: 13px;
        font-family:verdana;
        letter-spacing:-1px;

    }
    #slider .backgroundText {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 100%;
        background: #000;
        filter: alpha(opacity=40);
        opacity: 0.4;
    }
    #slider .text {
        position: absolute;
        top: 1%;
        top: 100%;
        color: #FFF;
        font-family: verdana;
        font-size: 11px;
        width: 250px;
        left: 10px;
    }
    #slider .diapo {
        position: absolute;
        filter: alpha(opacity=100);
        opacity: 1;
        visibility: hidden;
    }
-->
</style>

<script type="text/javascript">
/* ==== slider nameSpace ==== */
var slider = function() {
    /* ==== private methods ==== */
    function getElementsByClass(object, tag, className) {
        var o = object.getElementsByTagName(tag);
        for ( var i = 0, n = o.length, ret = []; i < n; i++) {
            if (o[i].className == className) ret.push(o[i]);
        }
        if (ret.length == 1) ret = ret[0];
        return ret;
    }
    function setOpacity (obj,o) {
        if (obj.filters) obj.filters.alpha.opacity = Math.round(o);
        else obj.style.opacity = o / 100;
    }
    /* ==== Slider Constructor ==== */
    function Slider(oCont, speed, iW, iH, oP) {
        this.slides = [];
        this.over  = false;
        this.S      = this.S0 = speed;
        this.iW    = iW;
        this.iH    = iH;
        this.oP    = oP;
        this.oc    = document.getElementById(oCont);
        this.frm    = getElementsByClass(this.oc, 'div', 'slide');
        this.NF    = this.frm.length;
        this.resize();
        for (var i = 0; i < this.NF; i++) {
            this.slides[i] = new Slide(this, i);
        }
        this.oc.parent = this;
        this.view      = this.slides[0];
        this.Z        = this.mx;
        /* ==== on mouse out event ==== */
        this.oc.onmouseout = function () {
            this.parent.mouseout();
            return false;
        }
    }
    Slider.prototype = {
        /* ==== animation loop ==== */
        run : function () {
            this.Z += this.over ? (this.mn - this.Z) * .5 : (this.mx - this.Z) * .5;
            this.view.calc();
            var i = this.NF;
            while (i--) this.slides[i].move();
        },
        /* ==== resize  ==== */
        resize : function () {
            this.wh = this.oc.clientWidth;
            this.ht = this.oc.clientHeight;
            this.wr = this.wh * this.iW;
            this.r  = this.ht / this.wr;
            this.mx = this.wh / this.NF;
            this.mn = (this.wh * (1 - this.iW)) / (this.NF - 1);
        },
        /* ==== rest  ==== */
        mouseout : function () {
            this.over      = false;
            setOpacity(this.view.img, this.oP);
        }
    }
    /* ==== Slide Constructor ==== */
    Slide = function (parent, N) {
        this.parent = parent;
        this.N      = N;
        this.x0    = this.x1 = N * parent.mx;
        this.v      = 0;
        this.loaded = false;
        this.cpt    = 0;
        this.start  = new Date();
        this.obj    = parent.frm[N];
        this.txt    = getElementsByClass(this.obj, 'div', 'text');
        this.img    = getElementsByClass(this.obj, 'img', 'diapo');
        this.bkg    = document.createElement('div');
        this.bkg.className = 'backgroundText';
        this.obj.insertBefore(this.bkg, this.txt);
        if (N == 0) this.obj.style.borderLeft = 'none';
        this.obj.style.left = Math.floor(this.x0) + 'px';
        setOpacity(this.img, parent.oP);
        /* ==== mouse events ==== */
        this.obj.parent = this;
        this.obj.onmouseover = function() {
            this.parent.over();
            return false;
        }
    }
    Slide.prototype = {
        /* ==== target positions ==== */
        calc : function() {
            var that = this.parent;
            // left slides
            for (var i = 0; i <= this.N; i++) {
                that.slides[i].x1 = i * that.Z;
            }
            // right slides
            for (var i = this.N + 1; i < that.NF; i++) {
                that.slides[i].x1 = that.wh - (that.NF - i) * that.Z;
            }
        },
        /* ==== HTML animation : move slides ==== */
        move : function() {
            var that = this.parent;
            var s = (this.x1 - this.x0) / that.S;
            /* ==== lateral slide ==== */
            if (this.N && Math.abs(s) > .5) {
                this.obj.style.left = Math.floor(this.x0 += s) + 'px';
            }
            /* ==== vertical text ==== */
            var v = (this.N < that.NF - 1) ? that.slides[this.N + 1].x0 - this.x0 : that.wh - this.x0;
            if (Math.abs(v - this.v) > .5) {
                this.bkg.style.top = this.txt.style.top = Math.floor(2 + that.ht - (v - that.Z) * that.iH * that.r) + 'px';
                this.v = v;
                this.cpt++;
            } else {
                if (!this.pro) {
                    /* ==== adjust speed ==== */
                    this.pro = true;
                    var tps = new Date() - this.start;
                    if(this.cpt > 1) {
                        that.S = Math.max(2, (28 / (tps / this.cpt)) * that.S0);
                    }
                }
            }
            if (!this.loaded) {
                if (this.img.complete) {
                    this.img.style.visibility = 'visible';
                    this.loaded = true;
                }
            }
        },
        /* ==== light ==== */
        over : function () {
            this.parent.resize();
            this.parent.over = true;
            setOpacity(this.parent.view.img, this.parent.oP);
            this.parent.view = this;
            this.start = new Date();
            this.cpt = 0;
            this.pro = false;
            this.calc();
            setOpacity(this.img, 100);
        }
    }
    /* ==== public method - script initialization ==== */
    return {
        init : function() {
            // create instances of sliders here
            // parameters : HTMLcontainer name, speed (2 fast - 20 slow), Horizontal ratio, vertical text ratio, opacity
            this.s1 = new Slider("slider", 8, 1.84/3, 1/2.3, 60);
            setInterval("slider.s1.run();", 16);
        }
    }
}();

</script>

<style>
.glossymenu, .glossymenu li ul{
list-style-type: none;
margin: 0;
padding: 0;
width: 120px; /*WIDTH OF MAIN MENU ITEMS*/

}

.glossymenu li{
position: relative;
}

.glossymenu li ul{ /*SUB MENU STYLE*/
position: absolute;
width: 120px; /*WIDTH OF SUB MENU ITEMS*/
left: 0;
top: 0;
display: none;
background:000000;
filter:alpha(opacity=100);
-moz-opacity:1;
}

.glossymenu li a{
font: 10px Verdana, Helvetica, sans-serif;
color: FC9A12;
display: block;
width: auto;
padding: 2px 0;
padding-left: 10px;
text-decoration: none;
}

.glossymenu .arrowdiv{
position: absolute;
right: 2px;
}

.glossymenu li a:visited, .glossymenu li a:active{
color: cccccc;
}

.glossymenu li a:hover{
color: cccccc;
}


/* Holly Hack for IE \*/
* html .glossymenu li { float: left; height: 1%; }
* html .glossymenu li a { height: 1%; }
/* End */
</style>

<script type="text/javascript">
var menuids=new Array("verticalmenu") //Enter id(s) of UL menus, separated by commas
var submenuoffset=-10 //Offset of submenus from main menu. Default is -10 pixels.

function createcssmenu(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    var spanref=document.createElement("span")
        spanref.className="arrowdiv"
        spanref.innerHTML="&nbsp;&nbsp;"
        ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.left=this.parentNode.offsetWidth+submenuoffset+"px"
    this.getElementsByTagName("ul")[0].style.display="block"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.display="none"
    }
    }
  }
}


if (window.addEventListener)
window.addEventListener("load", createcssmenu, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu)
</script>

</head>

<body  onload="slider.init();" bgcolor="black" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<table width="1000" cellpadding="0" cellspacing="0" height="568">
    <tr>
        <td width="200">&nbsp;</td>
        <td width="800">&nbsp;</td>
    </tr>
    <tr>
        <td width="1000" height="400" colspan="2">
            <table width="100%" cellpadding="0" cellspacing="0" height="100%">
                <tr>
                    <td width="200">
                        <table width="200" cellpadding="0" cellspacing="0" height="316">
                            <tr>
                                <td width="150">&nbsp;</td>
                                <td width="50">&nbsp;</td>
                            </tr>
                            <tr>
                                <td width="150" height="280">

<ul id="verticalmenu" class="glossymenu">

<li><a style="cursor:hand;">ACRYLIC SYSTEM</a>
    <ul>
    <li><a href="http://">Color Powder</a></li>
    <li><a href="http://">Art Brush</a></li>
    </ul>
</li>
<li><a style="cursor:hand;">GEL SYSTEM</a>
    <ul>
    <li><a href="http://" target="_self">U/V Gel</a></li>
    <li><a href="http://" target="_self">Color Gel</a></li>
    <li><a href="http://" target="_self">Maya(embo) Gel</a></li>
    <li><a href="http://" target="_self">Supports</a></li>
<li><a href="http://" target="_self">Brush</a></li>
    </ul>
</li>
<li><a style="cursor:hand;">NAIL TIPS</a>
    <ul>
    <li><a href="http://" target="_self">Nail Tips #1</a></li>
    </ul>
</li>
<li><a style="cursor:hand;">MENU AND</a>
    <ul>
    <li><a href="http://" target="_self">Menu And #1</a></li>
    <li><a href="http://" target="_self">Menu And #2</a></li>
    </ul>
</li>
<li><a style="cursor:hand;">ART SUPPORTERS</a>
    <ul>
    <li><a href="http://" target="_self">Supporters #1</a></li>
    <li><a href="http://" target="_self">Supporters #2</a></li>
    <li><a href="http://" target="_self">Supporters #3</a></li>
    <li><a href="http://" target="_self">Supporters #4</a></li>
    </ul>
</li>
<li><a style="cursor:hand;">ART COLLECTION</a>
    <ul>
    <li><a href="http://" target="_self">Art Collection #1</a></li>
    <li><a href="http://" target="_self">Art Collection #2</a></li>
    </ul>
</li>

<li><a style="cursor:hand;">MACHINE</a>
    <ul>
    <li><a href="http://" target="_self">Machine #1</a></li>
    <li><a href="http://" target="_self">Machine #2</a></li>   
<li><a href="http://" target="_self">Machine #3</a></li>
    <li><a href="http://" target="_self">Machine #4</a></li>
    <li><a href="http://" target="_self">Machine #5</a></li>
<li><a href="http://" target="_self">Machine #6</a></li>
    </ul>
</li>

</ul>

</td>
                                <td width="50" height="280">&nbsp;</td>
                            </tr>
                            <tr>
                                <td width="150">&nbsp;</td>
                                <td width="50">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                    <td width="800">
                        <p align="center">++++++++++++    Head/Tail 깃점  +++++++++++</p>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td width="200" height="100">
            <p align="center"><img src="img2me/main_Logo.gif" width="85" height="65" border="0"></p>
        </td>
        <td width="800" height="100" valign="top">

<table width="477" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="477">
                            <div id="center" style="position:absolute; z-index:1;">
                                <div id="slider" style="width:477px; height:100px; position:absolute; left:0px; top:0px; z-index:1;">
                                    <div class="slide" style="background-color:black; border-left-width:1px; border-left-color:black; border-left-style:solid; width:300px; height:100px; position:absolute; top:0px; z-index:1;">
            <img class="diapo" src="img2me/m001.gif" alt="">
                                        <div class="text" style="font-family:verdana; font-size:11px; color:rgb(240,240,240); width:250px; position:absolute; left:10px; top:100%; z-index:1;">
                  <span class="title">SUB MENU 1</span><br>
                    | smenu 1 | smenu2 | smenu3 | smenu4 |
                                        </div>
                                    </div>
                                    <div class="slide" style="background-color:black; border-left-width:1px; border-left-color:black; border-left-style:solid; width:300px; height:100px; position:absolute; top:0px; z-index:1;">
            <img class="diapo" src="img2me/m002.gif" alt="">
                                        <div class="text" style="font-family:verdana; font-size:11px; color:rgb(240,240,240); width:250px; position:absolute; left:10px; top:100%; z-index:1;">
                  <span class="title">SUB MENU 2</span><br>
                    | smenu 1 | smenu2 | smenu3 | smenu4 |
                                        </div>
                                    </div>
                                    <div class="slide" style="background-color:black; border-left-width:1px; border-left-color:black; border-left-style:solid; width:300px; height:100px; position:absolute; top:0px; z-index:1;">
            <img class="diapo" src="img2me/m003.gif" alt="">
                                        <div class="text" style="font-family:verdana; font-size:11px; color:rgb(240,240,240); width:250px; position:absolute; left:10px; top:100%; z-index:1;">
                  <span class="title">SUB MENU 3</span><br>
                    | smenu 1 | smenu2 | smenu3 | smenu4 |
                                        </div>
                                    </div>
                                    <div class="slide" style="background-color:black; border-left-width:1px; border-left-color:black; border-left-style:solid; width:300px; height:100px; position:absolute; top:0px; z-index:1;">
            <img class="diapo" src="img2me/m004.gif" alt="">
                                        <div class="text" style="font-family:verdana; font-size:11px; color:rgb(240,240,240); width:250px; position:absolute; left:10px; top:100%; z-index:1;">
                  <span class="title">SUB MENU 4</span><br>
                    | smenu 1 | smenu2 | smenu3 | smenu4 |
                                        </div>
                                    </div>
                                    <div class="slide" style="background-color:black; border-left-width:1px; border-left-color:black; border-left-style:solid; width:300px; height:100px; position:absolute; top:0px; z-index:1;">
            <img class="diapo" src="img2me/m005.gif" alt="">
                                        <div class="text" style="font-family:verdana; font-size:11px; color:rgb(240,240,240); width:250px; position:absolute; left:10px; top:100%; z-index:1;">
                  <span class="title">SUB MENU 5</span><br>
                    | smenu 1 | smenu2 | smenu3 | smenu4 |

                                        </div>
                                    </div>
                                    <div class="slide" style="background-color:black; border-left-width:1px; border-left-color:black; border-left-style:solid; width:300px; height:100px; position:absolute; top:0px; z-index:1;">
            <img class="diapo" src="img2me/m006.gif" alt="" width="400" height="100">
                                        <div class="text" style="font-family:verdana; font-size:11px; color:rgb(240,240,240); width:250px; position:absolute; left:10px; top:100%; z-index:1;">
                  <span class="title">SUB MENU 6</span><br>
                    | smenu 1 | smenu2 | smenu3 | smenu4 |
                                        </div>
                                    </div>

                                </div>
                            </div>
                        </td>
                    </tr>
                </table>

</td>
    </tr>
    <tr>
        <td width="1000" colspan="2" height="50">
            <p align="center"><font size="1" color="#333333">Copyright(C) GRACIA . All Rights Reserved.</font></p>
        </td>
    </tr>
</table>
<p>&nbsp;</p>
</body>

</html>



--------------------------------------------------------------
변동시키는 것이 없는데,,
왜 View화면에는 메뉴가 안보이는 걸까요?
부탁드리겠습니다.
좋은 하루 되세요~

댓글 전체

예전에 저도 비슷한 경우가 있었는데 해당스킨 폴더에 뷰 파일을 열어 보시면 제일 하단에

<script language="JavaScript">
window.onload=function() {
    resizeBoardImage(<?=(int)$board[bo_image_width]?>);
    drawFont();
}
</script>
이 스크립트를 주석처리 하고 한번 테스트 해보세요..
최강님.. 답변 감사드립니다..
제가 지금 뷰와 뷰코멘드, 리스트파일까지도 확인해 봤는데
위와같은 내용이 없습니다만...
번거롭더라도 다시 한번 확인 해 주실 수 있나요,,
꼭 해결해야 하는 문제이기에 관심 부탁드리겠습니다.
감사합니다,,
아, 결국 스크립트때문에 그랬던게 맞네요..
최강님께서 말씀해주신 스크립트는 아니지만 밑에 있던 스크립트가 문제였습니다..^^
메뉴 잘 나오고요~
최강님과 렘브란트님께 감사의 말씀드립니다.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT