플래쉬 버튼 적용이 잘 되지 않을때 ... > 그누4 질문답변

그누4 질문답변

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

플래쉬 버튼 적용이 잘 되지 않을때 ... 정보

플래쉬 버튼 적용이 잘 되지 않을때 ...

본문

안녕하세요.

문의좀드릴게요..

문제 페이지는

http://www.holicmagic.co.kr/main.htm

이렇게 php 안쓰고 그냥 htm 으로 잡아서 홈페이지를 만들었습니다.

필요한 페이지만 불러서 사용했습니다..



여기에서 큰 문제점은..

htm 다른 페이지들은 모두 다 잘보입니다..

(일반페이지 경로 html 페이지 코딩만 한것... )

http://holicmagic.co.kr/main.htm
http://holicmagic.co.kr/sub01.htm
http://holicmagic.co.kr/sub02.htm
http://holicmagic.co.kr/sub03.htm
http://holicmagic.co.kr/sub05.htm



헌데 그누보드 상단에 불러온 파일.. ( 게시판 적용된 페이지가 되겟죠 .. )

http://holicmagic.co.kr/bbs/board.php?bo_table=board_0
http://holicmagic.co.kr/bbs/board.php?bo_table=board_1
http://holicmagic.co.kr/bbs/board.php?bo_table=board_2
http://holicmagic.co.kr/bbs/board.php?bo_table=board_3
http://holicmagic.co.kr/bbs/board.php?bo_table=board_4



플래쉬 파일 버튼의 서브페이지, 경로는

절대주소 입니다.

앞에 http://holicmagic.co.kr 모두 적엇다는것이죠..

경로구분에 '/' 이건 다 적엇구요..

그래서, 일반페이지 htm 에선 플래쉬메뉴가 잘 적용되지만..

그누보드 상단에불러오기 해서 불러온 htm 파일은..

플래쉬 버튼이 활성화가 되긴하지만..

서브페이지로 넘어가지 못하고잇습니다...ㅠㅠ


문제해결 꼭좀 부탁드리겠습니다..

급합니다..도와주십시요...

감사합니다.. 저두 댓글달게요..

메신저에서 원격제어로 봐주셔도 좋습니다..ㅠ

꼭좀도와주세요..
  • 복사

댓글 전체

혹시 11:40분 현재 임시방편으로 게시판 페이지의 소스를 .hubweb.net/으로 옮기셨나요?
위의 http://holicmagic.co.kr/main.htm 에서 불러온 플래시에서 게시판으로 이동하니 URL이 바뀌네요..??
바뀐 .hubweb.net/ 에서도 플래시 파일의 링크가 먹히지는 않지만요..
하나의 플래시 파일로 include해서 사용중이시라면
일반페이지의 샘플 소스 하나랑 게시판 페이지의 소스 하나 정도를 올려주심이 어떨런지요..
추가로 플래시 파일을 실행시키는 함수가 닮긴 js파일도 올려조시면 좋을듯 합니다.
이게 소스입니다 ㅠㅠ

numOfMenu = 8;
mainLink = new Array();
mainLink[1] = "http://holicmagic.co.kr/sub01.htm";
mainLink[2] = "http://holicmagic.co.kr/sub06.htm";
mainLink[3] = "http://holicmagic.co.kr/sub14.htm";
mainLink[4] = "http://holicmagic.co.kr/sub22.htm";
mainLink[5] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_1";
mainLink[6] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_2";
mainLink[7] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_3";
mainLink[8] = "http://holicmagic.co.kr/sub31.htm";
targetFrame = new Array();
targetFrame[1] = "_self";
targetFrame[2] = "_self";
targetFrame[3] = "_self";
targetFrame[4] = "_self";
targetFrame[5] = "_self";
targetFrame[6] = "_self";
targetFrame[7] = "_self";
targetFrame[8] = "_self";
_global.subBtnTotal = new Array();
subBtnTotal[1] = 5;
subBtnTotal[2] = 8;
subBtnTotal[3] = 8;
subBtnTotal[4] = 1;
subBtnTotal[5] = 0;
subBtnTotal[6] = 0;
subBtnTotal[7] = 6;
subBtnTotal[8] = 1;
_global.subLink = new Array();
for (i = 1; i <= numOfMenu; i++)
{
    subLink[i] = new Array();
} // end of for
subLink[1][1] = "http://holicmagic.co.kr/sub01.htm";
subLink[1][2] = "http://holicmagic.co.kr/sub02.htm";
subLink[1][3] = "http://holicmagic.co.kr/sub03.htm";
subLink[1][4] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_0";
subLink[1][5] = "http://holicmagic.co.kr/sub05.htm";
subLink[2][1] = "http://holicmagic.co.kr/sub06.htm";
subLink[2][2] = "http://holicmagic.co.kr/sub07.htm";
subLink[2][3] = "http://holicmagic.co.kr/sub08.htm";
subLink[2][4] = "http://holicmagic.co.kr/sub09.htm";
subLink[2][5] = "http://holicmagic.co.kr/sub10.htm";
subLink[2][6] = "http://holicmagic.co.kr/sub11.htm";
subLink[2][7] = "http://holicmagic.co.kr/sub12.htm";
subLink[2][8] = "http://holicmagic.co.kr/sub13.htm";
subLink[3][1] = "http://holicmagic.co.kr/sub14.htm";
subLink[3][2] = "http://holicmagic.co.kr/sub15.htm";
subLink[3][3] = "http://holicmagic.co.kr/sub16.htm";
subLink[3][4] = "http://holicmagic.co.kr/sub17.htm";
subLink[3][5] = "http://holicmagic.co.kr/sub18.htm";
subLink[3][6] = "http://holicmagic.co.kr/sub19.htm";
subLink[3][7] = "http://holicmagic.co.kr/sub20.htm";
subLink[3][8] = "http://holicmagic.co.kr/sub21.htm";
subLink[4][1] = "http://holicmagic.co.kr/sub22.htm";
subLink[7][1] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_3";
subLink[7][2] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_4";
subLink[7][3] = "http://holicmagic.co.kr/gmform/index.php?show=7";
subLink[7][4] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_6";
subLink[7][5] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_7";
subLink[7][6] = "http://holicmagic.co.kr/bbs/board.php?bo_table=board_8";
subLink[8][1] = "http://holicmagic.co.kr/sub31.htm";
System.useCodepage = true;
_global.active = pageNum;
_global.subActive = subNum;
_global.over = active;
for (i = 1; i <= numOfMenu; i++)
{
    this["menu" + i].bg.onRollOver = function ()
    {
        _global.over = Number(this._parent._name.substr(4));
        this._parent.swapDepths(1);
    };
    this["menu" + i].bg.onRollOut = this["menu" + i].bg.onDragOut = function ()
    {
        _global.over = active;
    };
    this["menu" + i].bg.onRelease = function ()
    {
        var _loc2 = Number(this._parent._name.substr(4));
        if (targetFrame[_loc2] == undefined || targetFrame[_loc2] == "")
        {
            getURL(mainLink[_loc2], "");
        }
        else
        {
            getURL(mainLink[_loc2], targetFrame[_loc2]);
        } // end else if
    };
    this["menu" + i].onEnterFrame = function ()
    {
        var _loc2 = Number(this._name.substr(4));
        for (k = 1; k <= subBtnTotal[_loc2]; k++)
        {
            if (this["s" + k] != undefined && this["s" + k].onRelease == undefined)
            {
                subBtnFunc(this["s" + k]);
            } // end if
        } // end of for
        if (over == _loc2)
        {
            this.direction = "next";
            this.nextFrame();
        }
        else
        {
            this.direction = "prev";
            this.prevFrame();
            this.prevFrame();
            this.prevFrame();
        } // end else if
        if (over)
        {
            if (_loc2 == over)
            {
                this.bg.targetX = max;
            }
            else
            {
                this.bg.targetX = min;
            } // end else if
        }
        else
        {
            this.bg.targetX = defaultX;
        } // end else if
    };
} // end of for
_global.subBtnFunc = function (that)
{
    that.onRollOver = function ()
    {
        this._parent.temp = Number(this._name.substr(1));
        if (this._parent.direction == "next")
        {
            if (Number(this._parent._name.substr(4)) != active || Number(this._name.substr(1)) != subActive)
            {
                clearInterval(this._parent.id);
                _global.over = Number(this._parent._name.substr(4));
                if (this._parent.first)
                {
                    this._parent["s" + subActive].gotoAndPlay("out");
                    this._parent.first = false;
                } // end if
                this.gotoAndPlay("over");
            } // end if
        } // end if
    };
    that.onRollOut = function ()
    {
        if (Number(this._parent._name.substr(4)) == active)
        {
            if (Number(this._name.substr(1)) != subActive)
            {
                this._parent.id = setInterval(this._parent.aa, 10, this._parent);
                this.gotoAndPlay("out");
                this._parent.temp = subActive;
            } // end if
        }
        else
        {
            this.gotoAndPlay("out");
        } // end else if
        _global.over = active;
    };
    that.onRelease = function ()
    {
        var _loc4 = this._parent._name.substr(4);
        var _loc3 = this._name.substr(1);
        var _loc5 = _loc4 + "_" + _loc3;
        var _loc2 = "_self";
        if (_loc5 == "0_0")
        {
            _loc2 = "_blank";
        } // end if
        getURL(subLink[_loc4][_loc3], _loc2);
    };
};
bar.x = 0;
bar.onEnterFrame = function ()
{
    if (over)
    {
        this.x = this.x * 7.600000E-001 + (this._parent["menu" + over]._x - this._x) * 5.000000E-002;
        this._x = this._x + this.x;
        this._alpha = this._alpha + (100 - this._alpha) / 5;
    }
    else
    {
        this._alpha = this._alpha + -this._alpha / 5;
    } // end else if
};
Stage.scaleMode = "noScale";
Stage.align = "LT";
htm 소스 입니다 ㅠ
원격제어 입니다..

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<meta name="author" content="luckyzid(--@font-face
BODY {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
TD {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
SELECT {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
INPUT {FONT-SIZE:9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
DIV {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
FORM {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
TEXTAREA {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
CENTER {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
OPTION {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
PRE {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
BLOCKQUOTE {FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
A:link {COLOR: #000000; TEXT-DECORATION: none;}
A:visited {COLOR: #000000; TEXT-DECORATION: none;}
A:active {COLOR: #000000; TEXT-DECORATION: none;}
A:hover {COLOR: #FFFFFF; TEXT-DECORATION: none;}
-->
</STYLE>
<style type="text/css">
BODY { scrollbar-3dlight-color:#000000;
scrollbar-arrow-color:#999999;
scrollbar-track-color:#000000;
scrollbar-darkshadow-color:#000000;
scrollbar-face-color:#000000;
scrollbar-highlight-color:#999999;
scrollbar-shadow-color:#999999}
</style>
<script language="JavaScript">

function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="JavaScript"><!--
function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  }
}

function na_preload_img()
{
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null)
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length-1; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  }
}

function na_change_img_src(name, nsdoc, rpath, preload)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  }
}

// -->
</script></head>

<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false"  bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" OnLoad="na_preload_img(false, 'http://holicmagic.co.kr/images/imgv_21.gif', 'http://holicmagic.co.kr/images/imgv_23.gif', 'http://holicmagic.co.kr/images/imgv_25.gif', 'http://holicmagic.co.kr/images/imgv_27.gif', 'http://holicmagic.co.kr/images/imgv_29.gif', 'http://holicmagic.co.kr/images/imgv_31.gif', 'http://holicmagic.co.kr/images/imgv_33.gif', 'http://holicmagic.co.kr/images/imgv_35.gif', 'http://holicmagic.co.kr/images/imgv_37.gif');">
<table cellpadding="0" cellspacing="0" width="100%" height="100%" bordercolordark="black" bordercolorlight="black">
    <tr>
        <td width="100%" height="100%" valign="top" bgcolor="black">
            <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="910" align="center">
                <tr>
                    <td width="910" background="http://holicmagic.co.kr/images/img_02.gif" height="81" valign="top">&nbsp;</td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="910" align="center">
                <tr>
                    <td width="910" height="14" valign="top">
                        <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black">
                            <tr>
                                <td width="447" valign="top">
                                    <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="377">
                                        <tr>
                                            <td width="63" valign="top"><img src="http://holicmagic.co.kr/images/img_04.gif" width="63" height="38" border="0"></td>
                                            <td width="179" valign="top"><a href="http://holicmagic.co.kr/main.htm"><img src="http://holicmagic.co.kr/images/img_05.gif" border="0"></a></td>
                                            <td width="135" valign="top"><img src="http://holicmagic.co.kr/images/img_06.gif" border="0"></td>
                                        </tr>
                                        <tr>
                                            <td width="377" valign="top" colspan="3"><img src="http://holicmagic.co.kr/images/img_08.gif" border="0"></td>
                                        </tr>
                                    </table>
</td>
                                <td width="447" valign="top">
                                    <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="520">
                                        <tr>
                                            <td width="520" valign="top" background="http://holicmagic.co.kr/images/img_07.gif" height="60">
                                                <p align="center"><script>doc_write(flash_movie("http://holicmagic.co.kr/s_menu.swf", "mainflash", 520, 60, "transparent"));</script></p>
</td>
                                        </tr>
                                    </table>
</td>
                            </tr>
                        </table>
</td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="910" align="center">
                <tr>
                    <td width="910" height="14" valign="top">
                        <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="910" align="center">
                            <tr>
                                <td width="910" height="427" valign="top" background="http://holicmagic.co.kr/images/veiw.gif">

                                    <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" align="center">
                                        <tr>
                                            <td width="900">&nbsp;</td>
                                                    </tr>
                                                </table><table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="910">
                                        <tr>
                                            <td width="910">

                                                <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="876" align="center">
                                                    <tr>
                                                        <td width="876" colspan="3" height="15" bgcolor="#383844"></td>
                                                    </tr>
                                                    <tr>
                                                        <td width="15" bgcolor="#383844">&nbsp;</td>
                                                        <td width="846">

                                                            <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="58" align="center">
                                                                <tr>
                                                                    <td width="58" colspan="3" height="15"></td>
                                                    </tr>
                                                </table>
                                                            <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" align="center" width="811">
                                                                <tr>
                                                                    <td width="811" height="50" background="http://holicmagic.co.kr/images/bar.gif"><img  class="png24" src="http://holicmagic.co.kr/images/t4.png" width="400" height="49" border="0"></td>
                                        </tr>
                                                                <tr>
                                                                    <td width="811" height="8">&nbsp;</td>
                                        </tr>
                                                                <tr>
                                                                    <td width="811" height="167" bgcolor="white">

                                                                        <table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="811">
                                                                            <tr>
                                                                                <td width="811" valign="top" height="170">

                                                                                    <p align="center">
© SIRSOFT
현재 페이지 제일 처음으로