묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
노프레임을 한 화면마다 수작업으로 메뉴를 만들려고 했는데요.
워낙 페이지가 많다보니..
결국에는 include문 쓰면 된다는 소리를 들어서
쓸려고 만들었는데 화면이 안불러와지네요..ㅠㅠ
메뉴를 불러오기위해서
<? include "http://www.matchyou.net/menu.htm" ; ?>
이렇게 맨 위에 소스를 넣었거든요?
http://www.matchyou.net/right_main.htm
이 화면 인데요. 메뉴를 불러올 작업을할껀데 안떠요..흑..;
뭐가 잘못된건가요?
좀 알려주세요..ㅠ0ㅠ
아래 소스를 보시고 틀린 부분 있으면 알려주세요.ㅠ0ㅠ
=============================================소스=============================================
//메뉴
<? include "http://www.matchyou.net/menu.htm" ; ?>
//메뉴
//메인화면 시작
<html>
<head>
<title>난꽃나라</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style>
<!--
body {
scrollbar-face-color:#F0F0F0;
scrollbar-shadow-color:gray;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#F0F0F0;
scrollbar-darkshadow-color:#ffffff;
scrollbar-track-color:#F0F0F0;
scrollbar-arrow-color:#F0F0F0
}
a:link { color: #595959; text-decoration: none}
a:visited { color: #595959; text-decoration: none}
a:active { color: #595959; text-decoration: none}
A:hover { color: #0099FF; text-decoration:none; position:relative; top:1; left:1;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table cellpadding="0" cellspacing="0" width="600" align="center">
<tr>
<td width="600">
<p align="center"><font size="2" face="돋움"> </font></p>
</td>
</tr>
<tr>
<td width="600" height="317">
<p align="center"><img src="nan/www.i-d0ll.co.kr/난.꽃나라/감나무에 감들이.jpg" width="598" height="448" border="0"></p>
</td>
</tr>
<tr>
<td width="600" height="28">
<p align="center"><font size="2" face="돋움"> </font></p>
</td>
</tr>
</table>
</body>
</html>
//메인화면끝
노프레임이 안되요..ㅠㅠ
2002.10.26 23:14
노프레임을 한 화면마다 수작업으로 메뉴를 만들려고 했는데요.
워낙 페이지가 많다보니..
결국에는 include문 쓰면 된다는 소리를 들어서
쓸려고 만들었는데 화면이 안불러와지네요..ㅠㅠ
메뉴를 불러오기위해서
<? include "http://www.matchyou.net/menu.htm" ; ?>
이렇게 맨 위에 소스를 넣었거든요?
http://www.matchyou.net/right_main.htm
이 화면 인데요. 메뉴를 불러올 작업을할껀데 안떠요..흑..;
뭐가 잘못된건가요?
좀 알려주세요..ㅠ0ㅠ
아래 소스를 보시고 틀린 부분 있으면 알려주세요.ㅠ0ㅠ
=============================================소스=============================================
//메뉴
<? include "http://www.matchyou.net/menu.htm" ; ?>
//메뉴
//메인화면 시작
<html>
<head>
<title>난꽃나라</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style>
<!--
body {
scrollbar-face-color:#F0F0F0;
scrollbar-shadow-color:gray;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#F0F0F0;
scrollbar-darkshadow-color:#ffffff;
scrollbar-track-color:#F0F0F0;
scrollbar-arrow-color:#F0F0F0
}
a:link { color: #595959; text-decoration: none}
a:visited { color: #595959; text-decoration: none}
a:active { color: #595959; text-decoration: none}
A:hover { color: #0099FF; text-decoration:none; position:relative; top:1; left:1;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table cellpadding="0" cellspacing="0" width="600" align="center">
<tr>
<td width="600">
<p align="center"><font size="2" face="돋움"> </font></p>
</td>
</tr>
<tr>
<td width="600" height="317">
<p align="center"><img src="nan/www.i-d0ll.co.kr/난.꽃나라/감나무에 감들이.jpg" width="598" height="448" border="0"></p>
</td>
</tr>
<tr>
<td width="600" height="28">
<p align="center"><font size="2" face="돋움"> </font></p>
</td>
</tr>
</table>
</body>
</html>
//메인화면끝
댓글 2
-
아이쿠
2002.10.27 00:06
-
안성민
2002.10.27 01:04
우선 htm에 php를 쓰시는 군요~ 제가 알기로는 php문은 되도록이면 htm파일은 php확장명을 가지는 파일보다 처리가 늦는걸루 알고 있구요~~ 파일명도 되도록이믄 영문으로 쓰셔야 돟을거 같습니다.( 익스 설정에 따라 한글파일은 안보일수 있거든요^^)서버에 따라서 htm파일은 php문법을 쓸수 없는 곳도 있으니 호스팅을 하고 계시믄 한번 확인해 보시구요~~밑에 인트루드 문은
php확장명을 가지는 화일안에서
<?include "./menu.htm";?>이렇게 불러오셔도 될거 같네요
같은 디렉토리에 있기때문에 가능하거 같구요~~
//메뉴
<? include "http://www.matchyou.net/menu.htm" ; ?>
//메뉴
//메인화면 시작
<html>
<head>
<title>난꽃나라</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style>
<!--
body {
scrollbar-face-color:#F0F0F0;
scrollbar-shadow-color:gray;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#F0F0F0;
scrollbar-darkshadow-color:#ffffff;
scrollbar-track-color:#F0F0F0;
scrollbar-arrow-color:#F0F0F0
}
a:link { color: #595959; text-decoration: none}
a:visited { color: #595959; text-decoration: none}
a:active { color: #595959; text-decoration: none}
A:hover { color: #0099FF; text-decoration:none; position:relative; top:1; left:1;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table cellpadding="0" cellspacing="0" width="600" align="center">
<tr>
<td width="600">
<p align="center"><font size="2" face="돋움"> </font></p>
</td>
</tr>
<tr>
<td width="600" height="317">
<p align="center"><img src="nan/www.i-d0ll.co.kr/난.꽃나라/감나무에 감들이.jpg" width="598" height="448" border="0"></p>
</td>
</tr>
<tr>
<td width="600" height="28">
<p align="center"><font size="2" face="돋움"> </font></p>
</td>
</tr>
</table>
</body>
</html>
//메인화면끝
되도록이면 절대경로명을 사용하세요.. ^.^