묻고답하기
노프레임 홈 관련얘기인데요ㅠㅠㅠㅠ
2009.02.24 12:54
사실 미리내계정에서 무료 템플릿 받아서 약간의 소스만 수정하던중에
http://79percents.com/
Home이랑 Chat 메뉴 빼고 모두 게시판에 떡하니 커져서(?)
원래 오른쪽 옆에 있어야할메뉴가 밑으로 내려가버리네요ㅠㅠㅠㅠ
근데 이런 홈페이지는 정말 처음해봐서 어디가 잘못되었고 또 어딜 잘못 건드렸는지 자체를 모르겠어요ㅠㅠㅠ
그래서 일단 제가 계속 만지작 거렸던 파일들 소스들을 올릴께요. 어디가 잘못되어있는지 제발 알려주세요ㅠㅠㅠㅠㅠ
*mirenee_index.html
<?
include "./m_connect.php";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
</head>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="main_bg.jpg">
<table border="0" cellpadding="0" cellspacing="0" width="893">
<tr>
<td width="723" height="430" align="left" valign="top">
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#CCCCCC" bordercolordark="white" bordercolorlight="#CCCCCC">
<tr>
<td width="541">
<p><img src="images_m/main_top.jpg" width="711" height="203" border="0"></p>
</td>
</tr>
<tr>
<td width="711" bgcolor="white"><br>
<? print_bbs("wawa/notice", "공지사항", "notice", 1, 100)?>
<? print_bbs("wawa/board", "갤러리", "work", 5, 30)?>
<? print_bbs("wawa/board", "자유게시판", "board", 5, 30)?>
</td>
</tr>
</table>
</td>
<td width="170" height="645" align="left" valign="top" bgcolor="white">
<table border="0" cellpadding="0" cellspacing="0" width="170">
<tr>
<td width="170" height="213" align="center" valign="middle">
<? print_outlogin('poi_green','1','10') ?>
</td>
</tr>
<tr>
<td width="170" align="left" valign="top">
<a href="/"><img src="images_m/menu1.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=profile"><img src="images_m/menu2.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=work"><img src="images_m/menu3.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=board"><img src="images_m/menu4.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=memo"><img src="images_m/menu5.jpg" width="110" height="26" border="0"></a><br>
<a href="javascript:na_open_window('chat', 'http://79percents.com/bbs/chat.htm', 0, 0, 700, 500, 0, 0, 0, 0, 0)"><img src="images_m/menu6.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=link"><img src="images_m/menu7.jpg" width="110" height="26" border="0"></a><br>
</td>
</tr>
</table>
</td>
</tr>
</table><br><br><br>
</body>
</html>
*mirenee_head.html
<?
include "./m_connect.php";
include $_zb_path."outlogin.php";
?>
<html>
<head>
</head>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="main_bg.jpg">
<table border="0" cellpadding="0" cellspacing="0" width="893">
<tr>
<td width="723" height="430" align="left" valign="top">
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#CCCCCC" bordercolordark="white" bordercolorlight="#CCCCCC">
<tr>
<td width="541">
<p><img src="images_m/main_top.jpg" width="711" height="203" border="0"></p>
</td>
</tr>
<tr>
<td width="711" bgcolor="white">
<!-- 이 페이지를 편집하신 경우 이부분 아래 소스는 모두 지워 주시기 바랍니다 -->
</td>
</tr>
</table>
</td>
</tr>
</table>
*mirenee_foot.html
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes'+
'+
' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no'+
';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+'+
',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
<!-- 이페이지를 편집 하신 경우 이 부분위에 소스는 모두 삭제해 주시기 바랍니다 -->
<table border="0" cellpadding="0" cellspacing="0" width="170">
<tr>
<td width="170" height="213" align="center" valign="middle">
<?
print_outlogin('poi_green','1','10')
?>
</td>
</tr>
<tr>
<td width="170" align="left" valign="top">
<a href="/"><img src="images_m/menu1.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=profile"><img src="images_m/menu2.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=work"><img src="images_m/menu3.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=board"><img src="images_m/menu4.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=memo"><img src="images_m/menu5.jpg" width="110" height="26" border="0"></a><br>
<a href="javascript:na_open_window('chat', 'http://79percents.com/bbs/chat.htm', 0, 0, 700, 500, 0, 0, 0, 0, 0)"><img src="images_m/menu6.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=link"><img src="images_m/menu7.jpg" width="110" height="26" border="0"></a><br>
</td>
</tr>
</table>
<br><br><br>
</body>
</html>
댓글 5
-
넨네
2009.02.24 12:59
-
이정화970
2009.02.24 13:05
넨네님 감사합니다. 바로 해결됬어요ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ
정말정말 고마워요ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ -
넨네
2009.02.24 13:09
해결되었다니 다행이네요.
멋진 홈페이지 만드세요. ^^ -
넨네
2009.02.24 13:01
헤더파일 소스
<?
include "./m_connect.php";
include $_zb_path."outlogin.php";
?>
<html>
<head><meta http-equiv="content-type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no'+ ';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}// -->
</script>
</head><body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="main_bg.jpg">
<table border="0" cellpadding="0" cellspacing="0" width="893">
<tr>
<td width="723" height="430" align="left" valign="top">
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#CCCCCC" bordercolordark="white" bordercolorlight="#CCCCCC">
<tr>
<td width="541">
<p><img src="images_m/main_top.jpg" width="711" height="203" border="0"></p>
</td>
</tr>
<tr>
<td width="711" bgcolor="white">
푸터파일 소스
</td>
</tr>
</table>
</td>
<td width="170" height="645" align="left" valign="top" bgcolor="white">
<table border="0" cellpadding="0" cellspacing="0" width="170">
<tr>
<td width="170" height="213" align="center" valign="middle">
<? print_outlogin('poi_green','1','10') ?>
</td>
</tr>
<tr>
<td width="170" align="left" valign="top">
<a href="/"><img src="images_m/menu1.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=profile"><img src="images_m/menu2.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=work"><img src="images_m/menu3.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=board"><img src="images_m/menu4.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=memo"><img src="images_m/menu5.jpg" width="110" height="26" border="0"></a><br>
<a href="javascript:na_open_window('chat', 'http://79percents.com/bbs/chat.htm', 0, 0, 700, 500, 0, 0, 0, 0, 0)"><img src="images_m/menu6.jpg" width="110" height="26" border="0"></a><br>
<a href="zboard.php?id=link"><img src="images_m/menu7.jpg" width="110" height="26" border="0"></a><br>
</td>
</tr>
</table>
</td>
</tr>
</table><br><br><br></body>
</html>
-
이정화970
2009.02.24 13:12
와우와우ㅠㅠㅠㅠㅠㅠㅠㅠ 제 질문에 한참봐도 덧글이 없어서 절망하고 있었는데 정말 한줄기의 빛과 소금이었어요ㅠㅠ
진짜 감사합니다. 늘 좋은하루 되시고 행복하세요>_<
이 페이지를 편집하신 경우 이부분 아래 소스는 모두 지워 주시기 바랍니다 - 아래에 있는
</td>
</tr>
</table>
</td>
</tr>
</table>
삭제하시구요.
mireene_foot.html의 가장 위에 다음을 넣습니다.
</td>
</tr>
</table>
</td>
<td width="170" height="645" align="left" valign="top" bgcolor="white">