묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소스좀 봐주세요
2005.12.02 18:52
head랑 foot이랑 나눠서 게시판에 적용시킬려구 하는데
foot파일이 적용되지 않아요.
나모fx를 쓸 땐 문제 없었는데
나모 5.0을 쓰니까 자꾸 문제가 생기네요.
소스에 문제가 있나 봐주세요
그리고 전체 배경을 검정으로 했는데 왜 적용되지 않을까요?
적용 게시판 ㅜㅜ http://autumnwind.dothome.co.kr/bbs/zboard.php?id=memory
head
<html>
<title>memory</title>
<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>
<body OnLoad="na_preload_img(false, '../image/menu/be%20menu/home.jpg', '../image/menu/be%20menu/diary.jpg', '../image/menu/be%20menu/photo.jpg', '../image/menu/be%20menu/door.jpg');" bgcolor="black" text="black" link="black" vlink="black" alink="black">
<table border="0" width="921" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center width="115" height="607" rowspan="3" bgcolor="#333333">
<p align="center"> </td>
<td align=center width="171" height="65" bgcolor="black">
<p align="center"> </p>
</td>
<td align="right" width="520" height="65" bgcolor="black" valign="bottom">
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="right"><a href="#" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '../image/menu/be%20menu/home.jpg', true);"><img src="../image/menu/real%20menu/home.jpg" width="70" height="18" border="0" name="image1"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=memory"><img src="../image/menu/be%20menu/memory.jpg" width="70" height="18" border="0" name="image2"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=diary" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '../image/menu/be%20menu/diary.jpg', true);"><img src="../image/menu/real menu/diary.jpg" width="70" height="18" border="0" name="image3"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=photo" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', '../image/menu/be%20menu/photo.jpg', true);"><img src="../image/menu/real menu/photo.jpg" width="70" height="18" border="0" name="image4"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=door" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', '../image/menu/be%20menu/door.jpg', true);"><img src="../image/menu/real menu/door.jpg" width="70" height="18" border="0" name="image5"></a></p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
</td>
<td align=center width="115" height="607" rowspan="3" bgcolor="#333333">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="171" height="33">
<p align="center"> </td>
<td width="520" height="33">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="171" height="509" background="../image/background/memory.jpg" style="background-repeat:no-repeat;" bgcolor="white" align="center" valign="top">
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><?
$_zb_url = "http://autumnwind.dothome.co.kr/bbs/";
$_zb_path = "/home/autumnwind/html/bbs/";
include $_zb_path."outlogin.php";
?>
<? print_outlogin("note", 3, 10)?> </td>
<td width="520" height="509" align="center" valign="top" bgcolor="white">
<p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"></p></div>
foot
</td>
</tr>
<tr>
<td width="115" height="80" bgcolor="#333333"> </td>
<td width="171" height="80">
</td>
<td width="520" height="80">
</td>
<td align=center width="115" height="80" bgcolor="#333333">
<p> </p>
</td>
</tr>
</table>
</html>
foot파일이 적용되지 않아요.
나모fx를 쓸 땐 문제 없었는데
나모 5.0을 쓰니까 자꾸 문제가 생기네요.
소스에 문제가 있나 봐주세요
그리고 전체 배경을 검정으로 했는데 왜 적용되지 않을까요?
적용 게시판 ㅜㅜ http://autumnwind.dothome.co.kr/bbs/zboard.php?id=memory
head
<html>
<title>memory</title>
<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>
<body OnLoad="na_preload_img(false, '../image/menu/be%20menu/home.jpg', '../image/menu/be%20menu/diary.jpg', '../image/menu/be%20menu/photo.jpg', '../image/menu/be%20menu/door.jpg');" bgcolor="black" text="black" link="black" vlink="black" alink="black">
<table border="0" width="921" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center width="115" height="607" rowspan="3" bgcolor="#333333">
<p align="center"> </td>
<td align=center width="171" height="65" bgcolor="black">
<p align="center"> </p>
</td>
<td align="right" width="520" height="65" bgcolor="black" valign="bottom">
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="right"><a href="#" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '../image/menu/be%20menu/home.jpg', true);"><img src="../image/menu/real%20menu/home.jpg" width="70" height="18" border="0" name="image1"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=memory"><img src="../image/menu/be%20menu/memory.jpg" width="70" height="18" border="0" name="image2"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=diary" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '../image/menu/be%20menu/diary.jpg', true);"><img src="../image/menu/real menu/diary.jpg" width="70" height="18" border="0" name="image3"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=photo" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', '../image/menu/be%20menu/photo.jpg', true);"><img src="../image/menu/real menu/photo.jpg" width="70" height="18" border="0" name="image4"></a><a href="http://autumnwind.dothome.co.kr/bbs/zboard.php?id=door" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', '../image/menu/be%20menu/door.jpg', true);"><img src="../image/menu/real menu/door.jpg" width="70" height="18" border="0" name="image5"></a></p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
</td>
<td align=center width="115" height="607" rowspan="3" bgcolor="#333333">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="171" height="33">
<p align="center"> </td>
<td width="520" height="33">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="171" height="509" background="../image/background/memory.jpg" style="background-repeat:no-repeat;" bgcolor="white" align="center" valign="top">
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><?
$_zb_url = "http://autumnwind.dothome.co.kr/bbs/";
$_zb_path = "/home/autumnwind/html/bbs/";
include $_zb_path."outlogin.php";
?>
<? print_outlogin("note", 3, 10)?> </td>
<td width="520" height="509" align="center" valign="top" bgcolor="white">
<p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"></p></div>
foot
</td>
</tr>
<tr>
<td width="115" height="80" bgcolor="#333333"> </td>
<td width="171" height="80">
</td>
<td width="520" height="80">
</td>
<td align=center width="115" height="80" bgcolor="#333333">
<p> </p>
</td>
</tr>
</table>
</html>
이렇게 해보세요