묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
노프레임.. 알려주세요.. -.-
2002.07.28 20:13
웹관련질문 기타 팁&강의에서도 노프레임에 관련된걸 검색해보고 다 줄줄 읽어봐도..
이해를 못하니 답답하네요..
제가 만드는 홈페이지는
-----------------------------
주메뉴
-----------------------------
부메뉴
-----------------------------
내용 or 제로보드
이런형태죠.. -.-;
아무튼 주메뉴하고 부메뉴는 고정이고
밑에 내용은 변해야하는데..
고정메뉴는 헤더에 들어가야하고( ^^; 제가 이해하기로는.. )
바뀌는 내용이나 제로보드부분은 풋에 들어가죠? 맞나요?
제 -.-; intro 소스인데 어떻게 변환해야 좋을지..
<html>
<head>
<title>xxxxxxxxxxxxx</title>
<script language="JavaScript">
<!--
function na_show_layer(lname, flag)
{
var layer = (navigator.appName == 'Netscape') ? document.layers[lname] : document.all[lname];
if (lname == '')
return;
if (navigator.appName == 'Netscape')
layer.visibility = (flag == 0) ? 'show' : 'hide'+ '+ ';
else
layer.style.visibility = (flag == 0) ? 'visible' : 'hidden';
}
//-->
</script>
<script language=JavaScript>
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
</script>
<style type="text/css">
<!--
A:link {color:000000; text-decoration:none;}
A:visited {color:000000; text-decoration:none;}
A:active {color:000000; text-decoration:none;}
A:hover {color:000000; text-decoration:none}
-->
</style>
</head>
<body bgcolor=#ffffff leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<img src="img/main_top10.jpg" width="1004" height="39" border="0" usemap="#ImageMap1">
<img src="img/main_top9.jpg" width="1004" height="18" border="0"><embed src="flash/intro_flash.swf" width=1004 height=150">
</p>
<p><div id="layer2" style="width:442px; height:47px; position:absolute; left:362px; top:24px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer2', 1);" OnMouseOver="na_show_layer('layer2', 0);">
<p><span style="font-size:14pt;"> </span><span style="font-size:12pt;"><br></span><span style="font-size:9pt;"><font face="돋움체">|</font><font face="돋움체" color="white">|
x x |
x x |
x x |
x xxx |
xx xxxx |</font></span></p>
</div>
<div id="layer4" style="width:568px; height:41px; position:absolute; left:293px; top:28px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer4', 1);" OnMouseOver="na_show_layer('layer4', 0);">
<p><span style="font-size:12pt;"><br></span><span style="font-size:9pt;"> <font color="white">|
</font><font face="돋움체" color="white">xx xxxxxx |
xx xxxxxx |
xx xxxxx | xx x xxxxxx |
xx xxxxx |
xx xxx |</font></span></p>
</div>
<div id="layer3" style="width:94px; height:39px; position:absolute; left:462px; top:1px; z-index:1;" OnMouseOut="na_show_layer('layer2', 1);na_show_layer('layer4', 1);" OnMouseOver="na_show_layer('layer4', 0);na_show_layer('layer2', 1);">
<p> </p>
</div>
<div id="layer1" style="width:83px; height:40px; position:absolute; left:376px; top:1px; z-index:1; visibility:visible;" OnMouseOut="na_show_layer('layer4', 1);na_show_layer('layer2', 1);" OnMouseOver="na_show_layer('layer2', 0);na_show_layer('layer4', 1);">
<p> </p>
</div>
<div id="layer5" style="width:91px; height:39px; position:absolute; left:555px; top:1px; z-index:1;" OnMouseOut="na_show_layer('layer6', 1);" OnMouseOver="na_show_layer('layer6', 0);na_show_layer('layer2', 1);na_show_layer('layer4', 1);">
<p> </p>
</div>
</p>
<map name="ImageMap1">
<area shape="rect" coords="0, 0, 0, 1" href="http://127.0.0.1/intro.html">
<area shape="rect" coords="647, 4, 750, 38" href="http://">
<area shape="rect" coords="826, 4, 926, 38" href="http://">
<area shape="rect" coords="928, 5, 1002, 37" href="http://">
<area shape="rect" coords="4, 4, 303, 38" href="http://">
</map>
<div id="layer6" style="width:248px; height:46px; position:absolute; left:468px; top:32px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer6', 1);" OnMouseOver="na_show_layer('layer6', 0);">
<p><font face="돋움체"><span style="font-size:9pt;"><br></font><font face="돋움체" color="white"> |
게 시 판 |
생 활 정 보 |</font></span></p>
</div>
<div id="layer8" style="width:279px; height:52px; position:absolute; left:646px; top:32px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer8', 1);" OnMouseOver="na_show_layer('layer8', 0);">
<p><font face="돋움체"><span style="font-size:9pt;"> <br> </font><font face="돋움체" color="white">|
xxxx
| xx
관 련 기 사 |</font><font face="돋움체"><br> </font></span></p>
</div>
<div id="layer7" style="width:70px; height:39px; position:absolute; left:753px; top:2px; z-index:1; visibility:visible;" OnMouseOut="na_show_layer('layer8', 1);" OnMouseOver="na_show_layer('layer8', 0);">
<p> </p>
</div>
<--------- 여기까지가 주메뉴와 부메뉴 ------------->
<----------내용 or 제로보드 들어갈부분 ------------>
<table>
<tr>
<td width=500>
<?
$_zb_url = "http://127.0.0.1/bbs/";
$_zb_path = "./bbs/";
include $_zb_path."outlogin.php";
print_bbs("default/default_bbs", "공지사항", "test", 5, 20)
?>
</td>
<td width=500>
<?
$_zb_url = "http://127.0.0.1/bbs/";
$_zb_path = "./bbs/";
include $_zb_path."outlogin.php";
print_bbs("default/default_bbs", "자유게시판", "test2", 5, 20)
?>
</td>
</tr>
</table>
</body>
</html>
ps. xxx로 처리된 부분은 보안관계상.. -.-;
빠른 답변 기다리겠습니다.
이해를 못하니 답답하네요..
제가 만드는 홈페이지는
-----------------------------
주메뉴
-----------------------------
부메뉴
-----------------------------
내용 or 제로보드
이런형태죠.. -.-;
아무튼 주메뉴하고 부메뉴는 고정이고
밑에 내용은 변해야하는데..
고정메뉴는 헤더에 들어가야하고( ^^; 제가 이해하기로는.. )
바뀌는 내용이나 제로보드부분은 풋에 들어가죠? 맞나요?
제 -.-; intro 소스인데 어떻게 변환해야 좋을지..
<html>
<head>
<title>xxxxxxxxxxxxx</title>
<script language="JavaScript">
<!--
function na_show_layer(lname, flag)
{
var layer = (navigator.appName == 'Netscape') ? document.layers[lname] : document.all[lname];
if (lname == '')
return;
if (navigator.appName == 'Netscape')
layer.visibility = (flag == 0) ? 'show' : 'hide'+ '+ ';
else
layer.style.visibility = (flag == 0) ? 'visible' : 'hidden';
}
//-->
</script>
<script language=JavaScript>
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
</script>
<style type="text/css">
<!--
A:link {color:000000; text-decoration:none;}
A:visited {color:000000; text-decoration:none;}
A:active {color:000000; text-decoration:none;}
A:hover {color:000000; text-decoration:none}
-->
</style>
</head>
<body bgcolor=#ffffff leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<img src="img/main_top10.jpg" width="1004" height="39" border="0" usemap="#ImageMap1">
<img src="img/main_top9.jpg" width="1004" height="18" border="0"><embed src="flash/intro_flash.swf" width=1004 height=150">
</p>
<p><div id="layer2" style="width:442px; height:47px; position:absolute; left:362px; top:24px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer2', 1);" OnMouseOver="na_show_layer('layer2', 0);">
<p><span style="font-size:14pt;"> </span><span style="font-size:12pt;"><br></span><span style="font-size:9pt;"><font face="돋움체">|</font><font face="돋움체" color="white">|
x x |
x x |
x x |
x xxx |
xx xxxx |</font></span></p>
</div>
<div id="layer4" style="width:568px; height:41px; position:absolute; left:293px; top:28px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer4', 1);" OnMouseOver="na_show_layer('layer4', 0);">
<p><span style="font-size:12pt;"><br></span><span style="font-size:9pt;"> <font color="white">|
</font><font face="돋움체" color="white">xx xxxxxx |
xx xxxxxx |
xx xxxxx | xx x xxxxxx |
xx xxxxx |
xx xxx |</font></span></p>
</div>
<div id="layer3" style="width:94px; height:39px; position:absolute; left:462px; top:1px; z-index:1;" OnMouseOut="na_show_layer('layer2', 1);na_show_layer('layer4', 1);" OnMouseOver="na_show_layer('layer4', 0);na_show_layer('layer2', 1);">
<p> </p>
</div>
<div id="layer1" style="width:83px; height:40px; position:absolute; left:376px; top:1px; z-index:1; visibility:visible;" OnMouseOut="na_show_layer('layer4', 1);na_show_layer('layer2', 1);" OnMouseOver="na_show_layer('layer2', 0);na_show_layer('layer4', 1);">
<p> </p>
</div>
<div id="layer5" style="width:91px; height:39px; position:absolute; left:555px; top:1px; z-index:1;" OnMouseOut="na_show_layer('layer6', 1);" OnMouseOver="na_show_layer('layer6', 0);na_show_layer('layer2', 1);na_show_layer('layer4', 1);">
<p> </p>
</div>
</p>
<map name="ImageMap1">
<area shape="rect" coords="0, 0, 0, 1" href="http://127.0.0.1/intro.html">
<area shape="rect" coords="647, 4, 750, 38" href="http://">
<area shape="rect" coords="826, 4, 926, 38" href="http://">
<area shape="rect" coords="928, 5, 1002, 37" href="http://">
<area shape="rect" coords="4, 4, 303, 38" href="http://">
</map>
<div id="layer6" style="width:248px; height:46px; position:absolute; left:468px; top:32px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer6', 1);" OnMouseOver="na_show_layer('layer6', 0);">
<p><font face="돋움체"><span style="font-size:9pt;"><br></font><font face="돋움체" color="white"> |
게 시 판 |
생 활 정 보 |</font></span></p>
</div>
<div id="layer8" style="width:279px; height:52px; position:absolute; left:646px; top:32px; z-index:1; visibility:hidden;" OnMouseOut="na_show_layer('layer8', 1);" OnMouseOver="na_show_layer('layer8', 0);">
<p><font face="돋움체"><span style="font-size:9pt;"> <br> </font><font face="돋움체" color="white">|
xxxx
| xx
관 련 기 사 |</font><font face="돋움체"><br> </font></span></p>
</div>
<div id="layer7" style="width:70px; height:39px; position:absolute; left:753px; top:2px; z-index:1; visibility:visible;" OnMouseOut="na_show_layer('layer8', 1);" OnMouseOver="na_show_layer('layer8', 0);">
<p> </p>
</div>
<--------- 여기까지가 주메뉴와 부메뉴 ------------->
<----------내용 or 제로보드 들어갈부분 ------------>
<table>
<tr>
<td width=500>
<?
$_zb_url = "http://127.0.0.1/bbs/";
$_zb_path = "./bbs/";
include $_zb_path."outlogin.php";
print_bbs("default/default_bbs", "공지사항", "test", 5, 20)
?>
</td>
<td width=500>
<?
$_zb_url = "http://127.0.0.1/bbs/";
$_zb_path = "./bbs/";
include $_zb_path."outlogin.php";
print_bbs("default/default_bbs", "자유게시판", "test2", 5, 20)
?>
</td>
</tr>
</table>
</body>
</html>
ps. xxx로 처리된 부분은 보안관계상.. -.-;
빠른 답변 기다리겠습니다.