묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
노프레임질문
2003.06.17 20:36
메뉴를 누르면 페이지가 하나씩 밀리듯이 옮겨가는 페이지인데요
노프레임으로 만드려고 하거든요
그래서 게시판에다 헤더와 푸터를 넣었거든요
그런데 다른 게시판으로 넘어가니까 헤더와 푸터를 어떻게 넣어야 할지 모르겠어요
헤더는
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>노프레임홈페이지</title>
<meta name="generator" content="Namo WebEditor v5.0">
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" OnLoad="na_preload_img(false, 'http://comdosa.com/momenent/peri/images/menu11.gif', 'http://comdosa.com/momenent/peri/images/menu22.gif', 'http://comdosa.com/momenent/peri/images/menu33.gif', 'http://comdosa.com/momenent/peri/images/menu44.gif', 'http://comdosa.com/momenent/peri/images/menu55.gif', 'http://comdosa.com/momenent/peri/images/menu66.gif');">
<p align="center"> </p>
<p align="center"> </p>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="651" height="230" style="border-width:1pt; border-color:blue; border-style:solid;">
<tr>
<td width="651" height="200">
<p><iframe src="http://comdosa.com/momenent/peri/top.htm" width=650 height=200 frameborder="0" name="iscrollx" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
</td>
</tr>
<tr>
<td width="651" height="30">
<p><a href="http://comdosa.com/momenent/bbs/zboard.php?id=page2" OnMouseOut="na_restore_img_src('main', 'document')" OnMouseOver="na_change_img_src('main', 'document', 'http://comdosa.com/momenent/peri/images/menu11.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu1.gif" width="109" height="30" border="0" name="main"></a><a href="javascript:scrollit(650);" OnMouseOut="na_restore_img_src('board', 'document')" OnMouseOver="na_change_img_src('board', 'document', 'http://comdosa.com/momenent/peri/images/menu22.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu2.gif" width="108" height="30" border="0" name="board"></a><a href="javascript:scrollit(1300);" OnMouseOut="na_restore_img_src('image', 'document')" OnMouseOver="na_change_img_src('image', 'document', 'http://comdosa.com/momenent/peri/images/menu33.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu3.gif" width="108" height="30" border="0" name="image"></a><a href="javascript:scrollit(1950);" OnMouseOut="na_restore_img_src('guest', 'document')" OnMouseOver="na_change_img_src('guest', 'document', 'http://comdosa.com/momenent/peri/images/menu44.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu4.gif" width="108" height="30" border="0" name="guest"></a><a href="javascript:scrollit(2600);" OnMouseOut="na_restore_img_src('master', 'document')" OnMouseOver="na_change_img_src('master', 'document', 'http://comdosa.com/momenent/peri/images/menu55.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu5.gif" width="108" height="30" border="0" name="master"></a><a href="javascript:scrollit(3250);" OnMouseOut="na_restore_img_src('link', 'document')" OnMouseOver="na_change_img_src('link', 'document', 'http://comdosa.com/momenent/peri/images/menu66.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu6.gif" width="109" height="30" border="0" name="link"></a></p>
</td>
</tr>
</table>
<p style="border-collapse:collapse;" align="center">
푸터는
</p>
</body>
</html>
이거거든요
다른 페이지에도 이렇게 넣으니까
보이는 이미지가 똑같더라구요
게시판1이미지가 /image1.jpg
게시판2이미지가 /image2.jpg
이런식이거든요
그래서 다르게 보여야 하거든요
어떻게 해야 하나요??
노프레임으로 만드려고 하거든요
그래서 게시판에다 헤더와 푸터를 넣었거든요
그런데 다른 게시판으로 넘어가니까 헤더와 푸터를 어떻게 넣어야 할지 모르겠어요
헤더는
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>노프레임홈페이지</title>
<meta name="generator" content="Namo WebEditor v5.0">
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" OnLoad="na_preload_img(false, 'http://comdosa.com/momenent/peri/images/menu11.gif', 'http://comdosa.com/momenent/peri/images/menu22.gif', 'http://comdosa.com/momenent/peri/images/menu33.gif', 'http://comdosa.com/momenent/peri/images/menu44.gif', 'http://comdosa.com/momenent/peri/images/menu55.gif', 'http://comdosa.com/momenent/peri/images/menu66.gif');">
<p align="center"> </p>
<p align="center"> </p>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="651" height="230" style="border-width:1pt; border-color:blue; border-style:solid;">
<tr>
<td width="651" height="200">
<p><iframe src="http://comdosa.com/momenent/peri/top.htm" width=650 height=200 frameborder="0" name="iscrollx" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
</td>
</tr>
<tr>
<td width="651" height="30">
<p><a href="http://comdosa.com/momenent/bbs/zboard.php?id=page2" OnMouseOut="na_restore_img_src('main', 'document')" OnMouseOver="na_change_img_src('main', 'document', 'http://comdosa.com/momenent/peri/images/menu11.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu1.gif" width="109" height="30" border="0" name="main"></a><a href="javascript:scrollit(650);" OnMouseOut="na_restore_img_src('board', 'document')" OnMouseOver="na_change_img_src('board', 'document', 'http://comdosa.com/momenent/peri/images/menu22.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu2.gif" width="108" height="30" border="0" name="board"></a><a href="javascript:scrollit(1300);" OnMouseOut="na_restore_img_src('image', 'document')" OnMouseOver="na_change_img_src('image', 'document', 'http://comdosa.com/momenent/peri/images/menu33.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu3.gif" width="108" height="30" border="0" name="image"></a><a href="javascript:scrollit(1950);" OnMouseOut="na_restore_img_src('guest', 'document')" OnMouseOver="na_change_img_src('guest', 'document', 'http://comdosa.com/momenent/peri/images/menu44.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu4.gif" width="108" height="30" border="0" name="guest"></a><a href="javascript:scrollit(2600);" OnMouseOut="na_restore_img_src('master', 'document')" OnMouseOver="na_change_img_src('master', 'document', 'http://comdosa.com/momenent/peri/images/menu55.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu5.gif" width="108" height="30" border="0" name="master"></a><a href="javascript:scrollit(3250);" OnMouseOut="na_restore_img_src('link', 'document')" OnMouseOver="na_change_img_src('link', 'document', 'http://comdosa.com/momenent/peri/images/menu66.gif', true);"><img src="http://comdosa.com/momenent/peri/images/menu6.gif" width="109" height="30" border="0" name="link"></a></p>
</td>
</tr>
</table>
<p style="border-collapse:collapse;" align="center">
푸터는
</p>
</body>
</html>
이거거든요
다른 페이지에도 이렇게 넣으니까
보이는 이미지가 똑같더라구요
게시판1이미지가 /image1.jpg
게시판2이미지가 /image2.jpg
이런식이거든요
그래서 다르게 보여야 하거든요
어떻게 해야 하나요??