묻고답하기

안녕하세요^^

포워딩  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 남기남
pepel 폰트좀 알려주세요^^ [1] 2007.08.10
최경준 디비관련 문제 [2] 2007.08.10
이재 이것을 어떻게 지우나요 <사진 첨부> [2] 2007.08.10
maru 프레임이 걸린 풀스크린 닫기  
carrot 포토샵에서 웹저장시... [2] 2007.08.10
박만준 스크롤되는 레이어 문제..  
정다영 제로님 강좌보고 하는 중인데요.. 파일생성에서 막혀요..  
이수정 벅스뮤직 주소가 mms로 바뀐 뒤로 배경음악이 안나옵니다.  
섬김이 다시 물어볼께요~ 프레임 문제 -ㅁ-;; [1] 2007.08.10
장병용 플래쉬 마우스오버효과 질문이요 [1] 2007.08.10
비보이 웹폰트 적용시 문제점이.. [3] 2007.08.10
엔키 포토샵에서 여러사진들 띄어놓고 리사이징 한번에 할수있나요? [3] 2007.08.10
도길문 안녕하세요... 찾는 강좌가 있는데.. 너무 많아서 못찾겠더요... [1] 2007.08.10
김경애 리눅스 DNS서버 설정 어떻게 하는지... [3] 2007.08.10
황혜경 이... 글꼴이 모죠? 도저히 찾을 수가 없네요. [2] 2007.08.10
김진욱 제로카운터 출력이 잘 안 됩니다.  
강상구 폼메일발송은 되는데 결과물이 깨져서 나와요 ㅜㅜ [1] 2007.08.10
안창환 노프레임 질문 [1] 2007.08.10
안재복 하나만 가르쳐 주세요 [1] 2007.08.10
지은이 이건 어떻게 하는건가요? [3] file 2007.08.10
오보영 iframe에서 새창으로 zeroboard 내용보기 [1] 2007.08.10
조민재 동영상을 올릴때요. [1] 2007.08.10
ngo [help]:::mkdir 명령어가 안되요. ::: [1] 2007.08.10
정대환 고수님들...꼭 도와 주세요. [1] 2007.08.10
Patⓡiⓒk 100% 프레임을 사용할때 한칸이 없어져요.. [1] 2007.08.10
이미선 공지사항을 메인화면에서 날짜가 빠른 것을 위로 오게 하여 띄우는 법 [1] 2007.08.10
Nya-ang 제로보드가 윈98에서는보이지 않나요? [1] 2007.08.10
정우진 이 소스가 롤오버가 안되고 자꾸 스크립트 오류가 나네요.. 뭔가 잘못된점이 있는지??  
김동우 폼 메일을... 수정했는데요...  
Empty 도메인 질문 ㅠ_ㅠ [4] 2007.08.10