묻고답하기

안녕하세요^^

포워딩  http://holy.xo.st ---> 원주소 : http://trinity.nasse.net/holy/holy.html

원주소로 들어가면~ 메뉴가 있습니다. Home, 중등부, 예배안내 등등
이 메뉴를 하나 클릭하면~ 두개의 화면이 바뀝니다.
channel 과 메뉴 밑에~ 메인화면이 바뀌게 됩니다

그러니깐! 메뉴를 누르면 두개의 화면이 바뀌게 됩니다

그런데 포워딩 주소로 들어갈 경우는
메뉴를 누르면 두개의 화면이 바껴야 하는데
channel만 바뀌고 메인 화면은 바뀌지가 않습니다 ㅠ_ㅜ

원주소로 들어가면~ 메뉴 누를때 정상적으로 링크가 둘다 바뀌는데~
포워딩 주소로 들어가면 메뉴 누르면 channel 만 바뀔뿐 다른건 바뀌지가 않습니다

도와주세요 ㅠㅜ


<?
   $_zb_url = "http://trinity.nasse.net/bbs/";
   $_zb_path = "/free/home/trinity/html/bbs/";
   include $_zb_path."outlogin.php";
?>

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<meta name="generator" content="Namo WebEditor v5.0">
<style type="text/css">
<!--
@font-face { font-family:TTche; src:url(http://trinity.nasse.net/WebFont/TTche.eot); }
-->
</style>
<title>동은교회 중등부</title>
<script language="JavaScript">
<!--
function na_two_frame(fname1, url1, fname2, url2)
{
  parent[fname1].location.href = url1;
  parent[fname2].location.href = url2;
}

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

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="20" marginheight="20">
<TABLE cellSpacing=0 cellPadding=0 width="847" align=center border=0>
<TBODY>
<TR>
<TD width=15 height="12">
<P><font size="1"><IMG height="21" src="img/1.gif" width=15
border=0></font></P></TD>
<TD width="816" background="img/11.gif" colSpan=2 height="12">
<P style="LINE-HEIGHT: 20px" align=left> </P></TD>
<TD width="16" height="12">
<P><font size="1"><IMG height="21" src="img/2.gif" width="15"
border=0></font></P></TD></TR>
<TR>
<TD width=15 background="img/22.gif" height="545" rowSpan="5">
<P><font size="1"> </font></P></TD>
<TD width="816" colSpan=2>
<P align=center></P></TD>
<TD width="16" background="img/33.gif" height="545" rowSpan="5">
<P><font size="1"> </font></P></TD></TR>
<TR>
<TD width="816" colSpan=2 height="90">
<TABLE cellSpacing=0 cellPadding=0 width="812" align=center border=0>
<TBODY>
<TR>
<TD width="270" height="82" rowSpan=2>
<P align="left"><font color="#DEDFDE"><img src="img/main_logo.gif" border="0" width="206" height="79"></font></P></TD>
<TD width="542">
<P align=center> <IFRAME marginWidth=0 marginHeight=0
src="praise.html" frameBorder=0
width="557" scrolling="no" height="20" topmargin="0"
leftmargin="0" name="praise"></IFRAME></P></TD></TR>
<TR>
<TD width="542" height="30">
                        <p align="center"><a OnClick="na_two_frame('ch', 'menu/channel.html', 'down', 'down.html');" href="menu/channel.html" target="ch"><img src="img/m_home.gif" width="55" height="31" border="0"></a>
                          <a OnClick="na_two_frame('ch', 'menu/holy.html', 'down', 'holy/holy_intro.htm');" href="menu/holy.html" target="ch"><img src="img/m_holy.gif" width="59" height="31" border="0"></a>
                          <a OnClick="na_two_frame('ch', 'menu/worship.html', 'down', 'worship/worship.html');" href="menu/worship.html" target="ch"><img src="img/m_worship.gif" width="59" height="31" border="0"></a>
                          <a OnClick="na_two_frame('ch', 'menu/ministry.html', 'down', 'ministry/ministry.html');" href="menu/ministry.html" target="ch"><img src="img/m_ministry.gif" width="56" height="31" border="0"></a>
                          <a OnClick="na_two_frame('ch', 'menu/photo.html', 'down', 'http://trinity.nasse.net/bbs/zboard.php?id=j_photo1');" href="menu/photo.html" target="ch"><img src="img/m_photo.gif" width="59" height="31" border="0"></a>
                          <a OnClick="na_two_frame('ch', 'menu/board.html', 'down', 'http://trinity.nasse.net/bbs/zboard.php?id=j_freeboard');" href="menu/board.html" target="ch"><img src="img/m_board.gif" width="55" height="31" border="0"></a>
                          <a OnClick="na_two_frame('ch', 'menu/pds.html', 'down', 'http://trinity.nasse.net/bbs/zboard.php?id=pds');" href="menu/pds.html" target="ch"><img src="img/m_pds.gif" width="55" height="31" border="0"></a></p>
</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top width="180" height="288">
<TABLE cellSpacing=0 cellPadding=0 width=160 align=center border=0>
<TBODY>
<TR>
<TD width=160 colSpan=3 height=18>
<P align=left><font size="1"><IMG height=19 src="img/up.gif" width=160
border=0></font></P></TD></TR>
<TR>
<TD width=15 background="img/left.gif" height=101>
<P> </P></TD>
<TD width=130 height=101>
<table align="center" border="1" cellspacing="0" width="123" bordercolordark="white" bordercolorlight="#CCCCCC" style="line-height:100%; margin-top:0; margin-bottom:0;">
    <tr>
        <td width="115" height="18" bgcolor="#E9E9E9" style="margin:0; padding:2;"><div id="box1">
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"><font face="TTche" color="#666666"><span style="font-size:9pt;">Channel</span></font></p>
            </div>
        </td>
    </tr>
    <tr>
        <td width="117" height="120" bordercolordark="white" bordercolorlight="silver">
<P align="center"><IFRAME marginWidth=0 marginHeight=0
src="menu/channel.html" frameBorder=0
width="114" scrolling="no" height="120" topmargin="0"
leftmargin="0" name="ch"></IFRAME></P>        </td>
    </tr>
</table>
                        <p style="line-height:50%; margin-top:0; margin-bottom:0;"> </p>
<table align="center" border="1" cellspacing="0" width="123" bordercolordark="white" bordercolorlight="#CCCCCC" style="line-height:100%; margin-top:0; margin-bottom:0;">
    <tr>
        <td width="117" height="86" bordercolordark="white" bordercolorlight="silver">
                        <p align="center"><? print_outlogin("uZineOL_plastic", 2, 10) ?>        </td>
    </tr>
</table>
</TD>
<TD width=15 background="img/right.gif" height=101>
<P></P></TD></TR>
<TR>
<TD width=160 colSpan=3 height=20>
<P align=left><font size="1"><IMG height=22 src="img/down.gif" width=160
border=0></font></P></TD></TR></TBODY></TABLE>
</TD>
<TD vAlign=top width="636" rowspan="2" height="440">
            <div align="right">
                <table cellpadding="0" cellspacing="0" width="635">
                    <tr>
                        <td width="635" height="449"><P align="center"><IFRAME marginWidth=0 marginHeight=0
src="down.html" frameBorder=0
width="635" scrolling="auto" height="448" topmargin="0"
leftmargin="0" name="down"></IFRAME></P></td>
                    </tr>
                </table>
            </div>
</TD></TR>
<TR>
<TD vAlign=top width="180" height="152">
                <table cellpadding="0" cellspacing="0" width="141" height="125" align="center">
                    <tr>
                        <td width="141" height="160">                                    <P align="center">   <IFRAME marginWidth=0 marginHeight=0
src="http://trinity.nasse.net/bbs/j_loginmem/pink_loged.php" frameBorder=0
width="140" scrolling="auto" height="160" topmargin="0"
leftmargin="0" name="llkorgll"></IFRAME></P>        </td>
                    </tr>
                </table>
</TD>
</TR>
<TR>
<TD vAlign=top width="816" height="13" colspan="2">
<P align=center><FONT face="굴림" size="2" color="#666666">Copyright 2003</FONT><font size="2" face="굴림" color="#666666"> ⓒ
"WPUM WebDesign"
</font><FONT face="굴림" size="2" color="#666666">All Rights Reserved</FONT>
</P></TD>
</TR>
<TR>
<TD width=15 height=7>
<P><font size="1"><IMG height=15 src="img/3.gif" width=15
border=0></font></P></TD>
<TD width="816" background="img/44.gif" colSpan=2 height=7>
<P><font size="1"> </font></P></TD>
<TD width="16" height=7>
<P><font size="1"><IMG height=15 src="img/4.gif" width=15
border=0></font></P></TD></TR>
</TBODY></TABLE>



</body>
</html>


참고로 제 소스입니다

버찌소년이란 분이
헤더부분의 자바스크립트 중
<script language="JavaScript">
<!--
function na_two_frame(fname1, url1, fname2, url2)
{
parent[fname1].location.href = url1;
parent[fname2].location.href = url2;
}
// -->
</script>

이 부분을

<script language="JavaScript">
<!--
function na_two_frame(fname1, url1, fname2, url2)
{
frames[fname1].location.href = url1;
frames[fname2].location.href = url2;
}
// -->
</script>
이렇게 수정하시면 되겠습니다.
그 이유는, http://holy.xo.st의 프레임 안에,
http://trinity.nasse.net/holy/holy.html 안에
프레임이 또 있기 때문입니다.

그런데, parent는 최상위 프레임을 말하기 때문에,
http://holy.xo.st 에서 작동되지 않는 것입니다.

이렇게 가르쳐 주셔서 고쳐봤습니다
고친 사이트 주소:  http://trinity.nasse.net/holy/index.html    --> 에러 납니다




도와주세요ㅠ_ㅜ
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
운영인 추천수가 5이상되면 특정 게시판으로 이동하는 방법 정말없나요?ㅠㅠ [2] 2011.08.01 by 감로수
bonui clio 레이아웃에서 옵션메뉴 이미지로 바꾸는 방법 질문  
추향1호 목록에 추천수 표시 [2] 2014.10.21 by KANTSOFT
minimoog 특정 게시판에 "제목"을 다른명칭으로 변경하는 방법 [7] 2014.10.21 by minimoog
비틀즈 로그인 세션변수명으로 다운로드 허가.  
비틀즈 index.html ,view.htm을 연결할때 페이지 보여지기_링크 [2] 2014.10.21 by 비틀즈
공수래 윈도우에서 리눅스 서버에 압축파일 올리고 해제하는 방법  
크레커 로그인에러네요.. 답이 없어요. 도와주세요 [2] 2014.10.21 by 크레커
bcbggirl 최고관리자인데 게시판 글 삭제가 안되요.  
lifeto 드롭다운 메뉴 만들기 [5] 2014.10.21 by DoorWeb
큰성565 css충돌관련해서 명쾌한 해답을 내려주실 분을 찾습니다 -ㅇ-ㅠ [3] 2014.10.21 by 큰성565
FANBLY 사이트 내에서 로그인 이외에 그 어떤 것도 할 수가 없어요! (오류메시지 첨부)  
본체 멀티미디어 링크개조 활용  
초보미 도메인을 구매하여 URL을 수정하고 싶습니다.. [5] 2014.10.21 by Hello_XE
오늘은삽질왕 스케치북5 모바일 메인화면 어디서 만드는지요? [5] 2014.10.21 by 오늘은삽질왕
레이꽁즈 관리자페이지 접속문제. [2] 2014.10.21 by 휘즈
뭐라카이 게시판에서 쓰기 누르면 본문에 관리자가 설정한 기본내용이 나오도록 어떻게하나요? [1] 2014.10.21 by 휘즈
사랑해요XE 블로그스팟에서 쓸수잇는 무료 도메인좀 추천부탁합니다  
초보미 검색모듈을 사용했을때.. 게시판이름이 검색되게는 못하나요? [3] file 2014.10.20 by 초보미
전원주택 관리자가 에디터권한이 없다고 나옵니다 [3] file 2014.10.20 by HSJI
하얀괭이이노 블로그형에서 댓글입력이 안됩니다.  
소2222 xe 관리자페이지에서 팝업 띄울수 있나요? [5] 2014.10.20 by XESniper
아형여옹 첨부파일로 사진 넣어 놓은 게시물은 삭제하면? [1] 2014.10.20 by XESniper
매점의마녀 나이 제한 애드온 mid가 뭐죠..? [2] file 2014.10.20 by XESniper
그랜드큐브 전문가님 제발 한번 봐주세요 DB연결오류 인듯 한데 어찌 해야 할지 모르겠어요. [2] file 2014.10.20 by XESniper
오늘은삽질왕 모바일 설정을 어디서 하는지 보이지 않네요.. 캡쳐한번 봐주세요 file  
engna 댓글에 태그를 적용하고자 합니다. [3] 2014.10.20 by 퍼니엑스이
따세 익스플로어에서 XE게시판에 로그인이 안되는 문제 [1] file 2014.10.20 by rtyyhh
lifeto 메뉴에서 home 을 제대로 인식못합니다. [3] 2014.10.20 by lifeto
서방서방 초보 애드온 개발 질문 [7] 2014.10.20 by 서방서방