묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
레이어 먹통 완료
2004.01.07 05:25
: 게시판에서 위에 불러올내용 아래에 불러올 내용 해서 헤드와 푸터 설정해준다음에
게시판을 불러보면 그냥 볼때는 보이던 레이어 메뉴가 안보여요 사라집니다.
정확한 이유를 잘모르겠네요.
아래 긴 소스는 헤더 파일, 먼져 보여드리는 파일이 푸터 부분 입니다.
---------------
푸터부분
---------------
</td>
<!-- 요기가 내용드어가는 부분이구요 -->
</tr>
</table>
</td>
</tr>
<tr height="45">
<!-- 하단 카피라이트 시작-->
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="201" bgcolor="black"></td>
<td bgcolor="black" align="center" style="font-family:Verdana;font-size:8pt"><FONT face=Verdana color=#cccccc>Copyright 2003 (c) </FONT><FONT face="Verdana" color="#FFD500">Wassum</FONT><FONT face=Verdana color=#cccccc> All rights reserved.
<BR>Best viewed with Internet Explorer 5.5 </FONT><FONT face="Verdana" color="#FFD400">800</FONT><FONT face="Verdana" color="white">*</FONT><FONT face="Verdana" color="#FFD400">600</FONT><FONT face=Verdana color=#cccccc> resolution or higher.</FONT></td>
</tr>
</table>
</td>
<!-- 하단 카피라이트 끝-->
</tr>
</table><!-- 전체 외각 테이블 끝--></body>
</html>
-----------------------------------------------------
-----------------
헤더 부분
-----------------
<?
$_zb_url = "http://wassum.agoto.com/bbs/";
$_zb_path = "/home/wassum/bbs/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<style>
<!--
body
{scrollbar-face-color: #4a4a4a;
scrollbar-shadow-color: #323232;
scrollbar-highlight-color: #7d7d7d;
scrollbar-3dlight-color: #111111;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #252525;
scrollbar-base-color: #789789;
scrollbar-arrow-color: #bbbbcc}
a { text-decoration:none; }
a:hover { color:#FFFFFF; text-decoration:none; }
--></style>
<script>
<!--
function hidestatus()
{
window.status='';
return true;
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
document.onmouseover=hidestatus;
document.onmouseout=hidestatus;
//-->
</script>
<title>WASSUM BEATBOX</title>
<script language="JavaScript">
<!--
function namosw_list(parent, visible, width, height, font, size, fgColor, bgColor, indent, hbgColor, hfgColor) {
this.additem = namosw_l_additem;
this.addlist = namosw_l_addlist;
this.make = namosw_l_make;
this.write = namosw_l_write;
this.show = namosw_l_show;
this.update = namosw_l_update;
this.updateparent = namosw_l_updateparent;
this.items = new Array();
this.id = document.namosw_lists.length;
this.parent_id = 0;
this.x = 0;
this.y = 0;
this.visible = visible;
this.width = width;
this.height = height;
this.parent = parent;
this.indent = indent;
this.fgColor = fgColor;
this.hfgColor = hfgColor;
this.bgColor = bgColor;
this.hbgColor = hbgColor;
this.font_start = '';
this.font_end = '';
this.font_start = '<font color=' + fgColor;
if (font != '') this.font_start += ' face="' + font + '"';
if (size != '' && size.indexOf('pt', 0) == -1) this.font_start += ' size=' + size;
this.font_start += '>';
this.font_start += '<span';
if (size.indexOf('pt', 0) != -1)
this.font_start += ' style="font-size:' +size+ ';"';
this.font_start += '>';
this.font_end = '</span>';
this.font_end += '</font>';
this.made = false;
this.shown = false;
document.namosw_lists[document.namosw_lists.length] = this;
}
function namosw_l_setclip(layer, left, right, top, bottom) {
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer.clip.left = left;
layer.clip.right = right;
layer.clip.top = top;
layer.clip.bottom = bottom;
} else {
layer.style.pixelWidth = right-left;
layer.style.pixelHeight = bottom-top;
layer.style.clip = "rect(" + top + "," + right + "," + bottom + "," + left + ")";
}
}
function namosw_l_write() {
var layer, clip, str;
for(var i = 0; i < this.items.length; i++) {
layer = this.items[i];
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer.visibility = "hidden";
else
layer.style.visibility = "hidden";
str = "";
str += "<table width="+this.width+" nowrap border='0' cellpadding='0' cellspacing='0'><tr>";
if (0 < this.indent) str += "<td width="+this.indent+" nowrap> </td>";
if (layer.type == 'list') {
str += "<td width=15 valign='middle' nowrap><a";
if (navigator.appName.indexOf('Netscape', 0) != -1) str += " href="javascript:void(0);"";
else str += " style="cursor:hand;"";
str += " onclick="namosw_l_expand("+layer.list.id+");"><img src="collapsed.gif" name="_img"+layer.list.id+"" border='0'></a></td>";
} else {
str += "<td width=15 nowrap> </td>";
}
str += "<td height="+(this.height-3)+" width="+(this.width-15-this.indent)+" valign='middle' align='left'>";
if (layer.url) str += "<a href="" + layer.url + "" target="" + layer.frame + "" style="text-decoration:none;">";
if (this.font_start) str += this.font_start;
str += layer.text;
if (this.font_end) str += this.font_end;
if (layer.url) str += "</a>";
str += "</td></table>";
str = str.replace("span", "span id='namoswlistspan" + layer.lid + "'");
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer.document.writeln(str);
layer.document.close();
} else {
layer.innerHTML = str;
layer.span = document.all['namoswlistspan'+layer.lid];
}
if (layer.type == 'list' && layer.list.visible)
this.items[i].list.write();
}
this.made = true;
}
function namosw_l_show() {
var layer;
for(var i = 0; i < this.items.length; i++) {
layer = this.items[i];
namosw_l_setclip(layer, 0, this.width, 0, this.height-1);
if (navigator.appName.indexOf('Netscape', 0) != -1) {
if (layer.oBgColor) layer.document.bgColor = layer.oBgColor;
else layer.document.bgColor = this.bgColor;
} else {
if (layer.oBgColor) layer.style.backgroundColor = layer.oBgColor;
else layer.style.backgroundColor = this.bgColor;
}
if (layer.type == 'list' && layer.list.visible)
layer.list.show();
}
this.shown = true;
}
function namosw_l_update(parent_visible, x, y) {
var top = y, layer, list;
for(var i = 0; i < this.items.length; i++) {
layer = this.items[i];
list = layer.list;
if (this.visible && parent_visible) {
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer.visibility = "visible";
layer.top = top;
layer.left = x;
} else {
layer.style.visibility = "visible";
layer.style.pixelTop = top;
layer.style.pixelLeft = x;
// if (layer.url) layer.style.cursor = "hand";
}
top += this.height;
} else {
if (navigator.appName.indexOf('Netscape', 0) != -1) layer.visibility = "hidden";
else layer.style.visibility = "hidden";
}
if (layer.type == 'list') {
if (list.visible) {
if (!list.made) list.write();
if (!list.shown) list.show();
if (navigator.appName.indexOf('Netscape', 0) != -1) layer.document.images[0].src = "collapsed.gif";
else eval('document.images._img'+list.id+'.src = "collapsed.gif"');
} else {
if (navigator.appName.indexOf('Netscape', 0) != -1) layer.document.images[0].src = "expanded.gif";
else eval('document.images._img'+list.id+'.src = "expanded.gif"');
}
if (list.made)
top = list.update(this.visible && parent_visible, x, top);
}
}
return top;
}
function namosw_l_updateparent(parent_id) {
this.parent_id = parent_id;
for(var i = 0; i < this.items.length; i++)
if (this.items[i].type == 'list')
this.items[i].list.updateparent(parent_id);
}
function namosw_l_expand(i) {
document.namosw_lists[i].visible = !document.namosw_lists[i].visible;
list = document.namosw_lists[document.namosw_lists[i].parent_id];
list.update(true, list.x, list.y);
}
function namosw_l_make(x, y) {
this.updateparent(this.id);
this.write();
this.show();
this.update(true, x, y);
this.x = x;
this.y = y;
}
function namosw_l_additem(text, url, frame) {
var layer = null;
if (navigator.appName.indexOf('Netscape', 0) != -1 && this.parent)
layer = eval('this.parent.document.layers.namoswlistitem'+document.namosw_lists.lid);
else
layer = eval('document.all.namoswlistitem'+document.namosw_lists.lid);
if (layer == null) {
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer = this.parent ? new Layer(this.width, this.parent) : new Layer(this.width);
}
if (layer == null) return;
if (url) layer.url = url;
if (frame) {
if (frame.indexOf('parent.') != 0)
layer.frame = "_" + frame;
else
layer.frame = frame.substring(7, frame.length);
}
layer.type = 'item';
layer.text = text;
layer.lid = document.namosw_lists.lid;
this.items[this.items.length] = layer;
layer.hbgColor = this.hbgColor;
layer.oBgColor = this.bgColor;
layer.fgColor = this.fgColor;
layer.hfgColor = this.hfgColor;
if (layer.captureEvents)
layer.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT|Event.MOUSEUP);
layer.onmouseover = namosw_l_onmouseover;
layer.onmouseout = namosw_l_onmouseout;
// layer.onmouseup = namosw_l_onmouseup;
document.namosw_lists.lid++;
}
function namosw_l_addlist(list, text, url, frame) {
var layer = null;
if (navigator.appName.indexOf('Netscape', 0) != -1 && this.parent)
layer = eval('this.parent.document.layers.namoswlistitem'+document.namosw_lists.lid);
else
layer = eval('document.all.namoswlistitem'+document.namosw_lists.lid);
if (layer == null) {
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer = this.parent ? new Layer(this.width, this.parent) : new Layer(this.width);
}
if (layer == null) return;
if (url) layer.url = url;
if (frame) {
if (frame.indexOf('parent.') != 0)
layer.frame = "_" + frame;
else
layer.frame = frame.substring(7, frame.length);
}
layer.list = list;
layer.type = 'list';
layer.text = text;
layer.lid = document.namosw_lists.lid;
this.items[this.items.length] = layer;
list.parent = this;
layer.hbgColor = this.hbgColor;
layer.oBgColor = this.bgColor;
layer.fgColor = this.fgColor;
layer.hfgColor = this.hfgColor;
if (layer.captureEvents)
layer.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT|Event.MOUSEUP);
layer.onmouseover = namosw_l_onmouseover;
layer.onmouseout = namosw_l_onmouseout;
// layer.onmouseup = namosw_l_onmouseup;
document.namosw_lists.lid++;
}
function namosw_l_onmouseover()
{
if (navigator.appName.indexOf('Netscape', 0) != -1) {
if (this.hbgColor)
this.bgColor = this.hbgColor;
} else {
if (this.hbgColor) this.style.backgroundColor = this.hbgColor;
if (this.hfgColor) this.span.style.color = this.hfgColor;
}
if (this.url) self.status = this.url;
}
function namosw_l_onmouseout()
{
if (navigator.appName.indexOf('Netscape', 0) != -1) {
this.bgColor = this.oBgColor;
} else {
this.style.backgroundColor = this.oBgColor;
this.span.style.color = this.fgColor;
}
if (this.url) self.status = '';
}
function namosw_l_onmouseup()
{
if (this.url) {
if (this.frame == 'blank') {
window.open(this.url, 'win1');
} else {
var frame_obj;
if ((frame_obj = eval(this.frame)) != null)
frame_obj.location = this.url;
}
}
}
function namosw_init_list(top_layer)
{
if (parseInt(navigator.appVersion) < 4)
return;
if (top_layer == '')
return;
document.namosw_lists = new Array();
document.namosw_lists.lid = 0;
var layer;
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer = document.layers[top_layer];
else
layer = document.all[top_layer];
var string = "";
for (i = 0; i < 7; i++) {
string = string + "<div id='namoswlistitem" + (document.namosw_lists.lid+i) + "' " +
"style='position: absolute;'></div>";
}
layer.innerHTML += string;
l1 = new namosw_list(layer, true, 171, 22, 'Verdana', '2', 'black', '#FFD400', 0, '#D6B200');
l1.additem('공지 사항', '+ '+ 'http://wassum.80port.net/bbs/zboard.php?id=gong', 'main');
l1.additem('자유게시판', 'http://wassum.80port.net/bbs/zboard.php?id=Free', 'main');
l1.additem('50문 / 50 답', 'http://wassum.80port.net/bbs/zboard.php?id=insa', 'main');
l1.additem('끝말 잇기', 'http://wassum.80port.net/bbs/zboard.php?id=mail', 'main');
l1.additem('회원 겔러리', 'http://wassum.80port.net/bbs/zboard.php?id=Photo_2', 'main');
l1.additem('사이트 링크', 'http://wassum.80port.net/bbs/zboard.php?id=link', 'main');
l1.make(0, 14);
}
function namosw_ns_resize()
{
window.history.go(0);
}
// -->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="black" text="#E6D8AE" link="#E6D8AE" vlink="#E6D8AE" alink="#E6D8AE" OnLoad="namosw_init_list('layer1'+ ');" OnResize="namosw_ns_resize();">
<div id="layer1" style="border-width:1px; border-style:none; width:171px; height:58px; position:absolute; left:3px; top:207px; z-index:1;">
<p> </p>
</div>
<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0"><!-- 전체 외각 테이블 -->
<tr height="91">
<!-- 상단 메뉴 시작 -->
<td>
<p><!-- 크기가 정해지지 않은 TD -->
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr bgcolor="#000000" height="91">
<!-- 크기가 정해진 TD -->
<td width="180" valign="top"><a href="http://wassum.80port.net/index_a.php" onFocus="blur()" target="_main"><img src="/images/rogo.png" onMouseOver="this.src='http://wassum.agoto.com/images/rogo_r.png'" onMouseOut="this.src='http://wassum.agoto.com/images/rogo.png'" border="0" width="191" height="91"></a></td>
<!-- 크기가 정해지지 않은 TD -->
<td valign="top"><a href="http://wassum.80port.net/beatbox.php" onFocus="blur()" target="_main"><img src="/images/beatbox.png" onMouseOver="this.src='http://wassum.agoto.com/images/beatbox_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/beatbox.png'" border="0" width="120" height="91"></a><a href="http://wassum.80port.net/gang.php" onFocus="blur()" target="_main"><img src="/images/gang.png" onMouseOver="this.src='http://wassum.agoto.com/images/gang_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/gang.png'" border="0" width="110" height="91"></a><a href="http://wassum.80port.net/data.php" onFocus="blur()" target="_main"><img src="/images/data.png" onMouseOver="this.src='http://wassum.agoto.com/images/data_rol.png'+ '" onMouseOut="this.src='http://wassum.agoto.com/images/data.png'" border="0" width="77" height="91"></a><a href="http://wassum.80port.net/bbs/zboard.php?id=yu" onFocus="blur()" target="_main"><img src="/images/test.png" onMouseOver="this.src='http://wassum.agoto.com/images/test_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/test.png'" border="0" width="112" height="91"></a><a href="http://wassum.80port.net/bbs/zboard.php?id=Free" onFocus="blur()" target="_main"><img src="/images/community.png" onMouseOver="this.src='http://wassum.agoto.com/images/community_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/community.png'" border="0" width="77" height="91"></a></td>
</tr>
</table>
</td>
<!-- 상단 메뉴 끝 -->
<!-- 요게 좌측에 들어가는 배경이에요. -->
<td rowspan="3" width="35" bgcolor="black" background="/images/back_b.png"> </td><!-- 크기가 정해진 TD -->
<!-- 요게 좌측에 들어가는 배경이에요. -->
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- 좌측메뉴 시작 -->
<td width="190" valign="top" height="387"><!-- 크기가 정해진 TD -->
<table width="190" cellpadding="0" cellspacing="0">
<tr>
<td width="176" height="108" bgcolor="#FF9900" rowspan="2"><? print_outlogin("saltstar_login4", 1, 10) ?></td>
<td width="14" height="16" bgcolor="#DE8400" background="/images/back_oo.gif"> </td>
</tr>
<tr>
<td width="14" height="90" bgcolor="#DE8400">
</td>
</tr>
<tr>
<td height="19" bgcolor="#D6B200" width="176"> </td>
<td height="19" background="/images/back_o.gif" width="14"> </td>
</tr>
<tr>
<td height="138" bgcolor="#FFD400" width="176">
<p> </p>
</td>
<td height="87" bgcolor="#D6B200" width="14"></td>
</tr>
<tr>
<td bgcolor="#AFAFAE" height="15" width="176"> </td>
<td height="15" bgcolor="black" width="14" background="/images/back_g.gif"> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC" width="176" height="94">
<p align="center"> <iframe src="http://wassum.agoto.com/bbs/loged_2/pink_loged.php" frameborder="0" width="164" height="168" marginwidth="0"
marginheight="0" scrolling="auto"></iframe></td>
<td bgcolor="#AFAFAE" width="14" height="94"> </td>
</tr>
<tr>
<td height="16" bgcolor="#CCCCCC" width="176"> </td>
<td height="16" bgcolor="#AFAFAF" width="14" background="/images/back_b.gif"> </td>
</tr>
</table>
</td>
<!-- 좌측메뉴 끝 -->
<!-- 요기가 내용드어가는 부분이구요 -->
<td valign="top" bgcolor="black">
게시판을 불러보면 그냥 볼때는 보이던 레이어 메뉴가 안보여요 사라집니다.
정확한 이유를 잘모르겠네요.
아래 긴 소스는 헤더 파일, 먼져 보여드리는 파일이 푸터 부분 입니다.
---------------
푸터부분
---------------
</td>
<!-- 요기가 내용드어가는 부분이구요 -->
</tr>
</table>
</td>
</tr>
<tr height="45">
<!-- 하단 카피라이트 시작-->
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="201" bgcolor="black"></td>
<td bgcolor="black" align="center" style="font-family:Verdana;font-size:8pt"><FONT face=Verdana color=#cccccc>Copyright 2003 (c) </FONT><FONT face="Verdana" color="#FFD500">Wassum</FONT><FONT face=Verdana color=#cccccc> All rights reserved.
<BR>Best viewed with Internet Explorer 5.5 </FONT><FONT face="Verdana" color="#FFD400">800</FONT><FONT face="Verdana" color="white">*</FONT><FONT face="Verdana" color="#FFD400">600</FONT><FONT face=Verdana color=#cccccc> resolution or higher.</FONT></td>
</tr>
</table>
</td>
<!-- 하단 카피라이트 끝-->
</tr>
</table><!-- 전체 외각 테이블 끝--></body>
</html>
-----------------------------------------------------
-----------------
헤더 부분
-----------------
<?
$_zb_url = "http://wassum.agoto.com/bbs/";
$_zb_path = "/home/wassum/bbs/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<style>
<!--
body
{scrollbar-face-color: #4a4a4a;
scrollbar-shadow-color: #323232;
scrollbar-highlight-color: #7d7d7d;
scrollbar-3dlight-color: #111111;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #252525;
scrollbar-base-color: #789789;
scrollbar-arrow-color: #bbbbcc}
a { text-decoration:none; }
a:hover { color:#FFFFFF; text-decoration:none; }
--></style>
<script>
<!--
function hidestatus()
{
window.status='';
return true;
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
document.onmouseover=hidestatus;
document.onmouseout=hidestatus;
//-->
</script>
<title>WASSUM BEATBOX</title>
<script language="JavaScript">
<!--
function namosw_list(parent, visible, width, height, font, size, fgColor, bgColor, indent, hbgColor, hfgColor) {
this.additem = namosw_l_additem;
this.addlist = namosw_l_addlist;
this.make = namosw_l_make;
this.write = namosw_l_write;
this.show = namosw_l_show;
this.update = namosw_l_update;
this.updateparent = namosw_l_updateparent;
this.items = new Array();
this.id = document.namosw_lists.length;
this.parent_id = 0;
this.x = 0;
this.y = 0;
this.visible = visible;
this.width = width;
this.height = height;
this.parent = parent;
this.indent = indent;
this.fgColor = fgColor;
this.hfgColor = hfgColor;
this.bgColor = bgColor;
this.hbgColor = hbgColor;
this.font_start = '';
this.font_end = '';
this.font_start = '<font color=' + fgColor;
if (font != '') this.font_start += ' face="' + font + '"';
if (size != '' && size.indexOf('pt', 0) == -1) this.font_start += ' size=' + size;
this.font_start += '>';
this.font_start += '<span';
if (size.indexOf('pt', 0) != -1)
this.font_start += ' style="font-size:' +size+ ';"';
this.font_start += '>';
this.font_end = '</span>';
this.font_end += '</font>';
this.made = false;
this.shown = false;
document.namosw_lists[document.namosw_lists.length] = this;
}
function namosw_l_setclip(layer, left, right, top, bottom) {
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer.clip.left = left;
layer.clip.right = right;
layer.clip.top = top;
layer.clip.bottom = bottom;
} else {
layer.style.pixelWidth = right-left;
layer.style.pixelHeight = bottom-top;
layer.style.clip = "rect(" + top + "," + right + "," + bottom + "," + left + ")";
}
}
function namosw_l_write() {
var layer, clip, str;
for(var i = 0; i < this.items.length; i++) {
layer = this.items[i];
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer.visibility = "hidden";
else
layer.style.visibility = "hidden";
str = "";
str += "<table width="+this.width+" nowrap border='0' cellpadding='0' cellspacing='0'><tr>";
if (0 < this.indent) str += "<td width="+this.indent+" nowrap> </td>";
if (layer.type == 'list') {
str += "<td width=15 valign='middle' nowrap><a";
if (navigator.appName.indexOf('Netscape', 0) != -1) str += " href="javascript:void(0);"";
else str += " style="cursor:hand;"";
str += " onclick="namosw_l_expand("+layer.list.id+");"><img src="collapsed.gif" name="_img"+layer.list.id+"" border='0'></a></td>";
} else {
str += "<td width=15 nowrap> </td>";
}
str += "<td height="+(this.height-3)+" width="+(this.width-15-this.indent)+" valign='middle' align='left'>";
if (layer.url) str += "<a href="" + layer.url + "" target="" + layer.frame + "" style="text-decoration:none;">";
if (this.font_start) str += this.font_start;
str += layer.text;
if (this.font_end) str += this.font_end;
if (layer.url) str += "</a>";
str += "</td></table>";
str = str.replace("span", "span id='namoswlistspan" + layer.lid + "'");
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer.document.writeln(str);
layer.document.close();
} else {
layer.innerHTML = str;
layer.span = document.all['namoswlistspan'+layer.lid];
}
if (layer.type == 'list' && layer.list.visible)
this.items[i].list.write();
}
this.made = true;
}
function namosw_l_show() {
var layer;
for(var i = 0; i < this.items.length; i++) {
layer = this.items[i];
namosw_l_setclip(layer, 0, this.width, 0, this.height-1);
if (navigator.appName.indexOf('Netscape', 0) != -1) {
if (layer.oBgColor) layer.document.bgColor = layer.oBgColor;
else layer.document.bgColor = this.bgColor;
} else {
if (layer.oBgColor) layer.style.backgroundColor = layer.oBgColor;
else layer.style.backgroundColor = this.bgColor;
}
if (layer.type == 'list' && layer.list.visible)
layer.list.show();
}
this.shown = true;
}
function namosw_l_update(parent_visible, x, y) {
var top = y, layer, list;
for(var i = 0; i < this.items.length; i++) {
layer = this.items[i];
list = layer.list;
if (this.visible && parent_visible) {
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer.visibility = "visible";
layer.top = top;
layer.left = x;
} else {
layer.style.visibility = "visible";
layer.style.pixelTop = top;
layer.style.pixelLeft = x;
// if (layer.url) layer.style.cursor = "hand";
}
top += this.height;
} else {
if (navigator.appName.indexOf('Netscape', 0) != -1) layer.visibility = "hidden";
else layer.style.visibility = "hidden";
}
if (layer.type == 'list') {
if (list.visible) {
if (!list.made) list.write();
if (!list.shown) list.show();
if (navigator.appName.indexOf('Netscape', 0) != -1) layer.document.images[0].src = "collapsed.gif";
else eval('document.images._img'+list.id+'.src = "collapsed.gif"');
} else {
if (navigator.appName.indexOf('Netscape', 0) != -1) layer.document.images[0].src = "expanded.gif";
else eval('document.images._img'+list.id+'.src = "expanded.gif"');
}
if (list.made)
top = list.update(this.visible && parent_visible, x, top);
}
}
return top;
}
function namosw_l_updateparent(parent_id) {
this.parent_id = parent_id;
for(var i = 0; i < this.items.length; i++)
if (this.items[i].type == 'list')
this.items[i].list.updateparent(parent_id);
}
function namosw_l_expand(i) {
document.namosw_lists[i].visible = !document.namosw_lists[i].visible;
list = document.namosw_lists[document.namosw_lists[i].parent_id];
list.update(true, list.x, list.y);
}
function namosw_l_make(x, y) {
this.updateparent(this.id);
this.write();
this.show();
this.update(true, x, y);
this.x = x;
this.y = y;
}
function namosw_l_additem(text, url, frame) {
var layer = null;
if (navigator.appName.indexOf('Netscape', 0) != -1 && this.parent)
layer = eval('this.parent.document.layers.namoswlistitem'+document.namosw_lists.lid);
else
layer = eval('document.all.namoswlistitem'+document.namosw_lists.lid);
if (layer == null) {
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer = this.parent ? new Layer(this.width, this.parent) : new Layer(this.width);
}
if (layer == null) return;
if (url) layer.url = url;
if (frame) {
if (frame.indexOf('parent.') != 0)
layer.frame = "_" + frame;
else
layer.frame = frame.substring(7, frame.length);
}
layer.type = 'item';
layer.text = text;
layer.lid = document.namosw_lists.lid;
this.items[this.items.length] = layer;
layer.hbgColor = this.hbgColor;
layer.oBgColor = this.bgColor;
layer.fgColor = this.fgColor;
layer.hfgColor = this.hfgColor;
if (layer.captureEvents)
layer.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT|Event.MOUSEUP);
layer.onmouseover = namosw_l_onmouseover;
layer.onmouseout = namosw_l_onmouseout;
// layer.onmouseup = namosw_l_onmouseup;
document.namosw_lists.lid++;
}
function namosw_l_addlist(list, text, url, frame) {
var layer = null;
if (navigator.appName.indexOf('Netscape', 0) != -1 && this.parent)
layer = eval('this.parent.document.layers.namoswlistitem'+document.namosw_lists.lid);
else
layer = eval('document.all.namoswlistitem'+document.namosw_lists.lid);
if (layer == null) {
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer = this.parent ? new Layer(this.width, this.parent) : new Layer(this.width);
}
if (layer == null) return;
if (url) layer.url = url;
if (frame) {
if (frame.indexOf('parent.') != 0)
layer.frame = "_" + frame;
else
layer.frame = frame.substring(7, frame.length);
}
layer.list = list;
layer.type = 'list';
layer.text = text;
layer.lid = document.namosw_lists.lid;
this.items[this.items.length] = layer;
list.parent = this;
layer.hbgColor = this.hbgColor;
layer.oBgColor = this.bgColor;
layer.fgColor = this.fgColor;
layer.hfgColor = this.hfgColor;
if (layer.captureEvents)
layer.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT|Event.MOUSEUP);
layer.onmouseover = namosw_l_onmouseover;
layer.onmouseout = namosw_l_onmouseout;
// layer.onmouseup = namosw_l_onmouseup;
document.namosw_lists.lid++;
}
function namosw_l_onmouseover()
{
if (navigator.appName.indexOf('Netscape', 0) != -1) {
if (this.hbgColor)
this.bgColor = this.hbgColor;
} else {
if (this.hbgColor) this.style.backgroundColor = this.hbgColor;
if (this.hfgColor) this.span.style.color = this.hfgColor;
}
if (this.url) self.status = this.url;
}
function namosw_l_onmouseout()
{
if (navigator.appName.indexOf('Netscape', 0) != -1) {
this.bgColor = this.oBgColor;
} else {
this.style.backgroundColor = this.oBgColor;
this.span.style.color = this.fgColor;
}
if (this.url) self.status = '';
}
function namosw_l_onmouseup()
{
if (this.url) {
if (this.frame == 'blank') {
window.open(this.url, 'win1');
} else {
var frame_obj;
if ((frame_obj = eval(this.frame)) != null)
frame_obj.location = this.url;
}
}
}
function namosw_init_list(top_layer)
{
if (parseInt(navigator.appVersion) < 4)
return;
if (top_layer == '')
return;
document.namosw_lists = new Array();
document.namosw_lists.lid = 0;
var layer;
if (navigator.appName.indexOf('Netscape', 0) != -1)
layer = document.layers[top_layer];
else
layer = document.all[top_layer];
var string = "";
for (i = 0; i < 7; i++) {
string = string + "<div id='namoswlistitem" + (document.namosw_lists.lid+i) + "' " +
"style='position: absolute;'></div>";
}
layer.innerHTML += string;
l1 = new namosw_list(layer, true, 171, 22, 'Verdana', '2', 'black', '#FFD400', 0, '#D6B200');
l1.additem('공지 사항', '+ '+ 'http://wassum.80port.net/bbs/zboard.php?id=gong', 'main');
l1.additem('자유게시판', 'http://wassum.80port.net/bbs/zboard.php?id=Free', 'main');
l1.additem('50문 / 50 답', 'http://wassum.80port.net/bbs/zboard.php?id=insa', 'main');
l1.additem('끝말 잇기', 'http://wassum.80port.net/bbs/zboard.php?id=mail', 'main');
l1.additem('회원 겔러리', 'http://wassum.80port.net/bbs/zboard.php?id=Photo_2', 'main');
l1.additem('사이트 링크', 'http://wassum.80port.net/bbs/zboard.php?id=link', 'main');
l1.make(0, 14);
}
function namosw_ns_resize()
{
window.history.go(0);
}
// -->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="black" text="#E6D8AE" link="#E6D8AE" vlink="#E6D8AE" alink="#E6D8AE" OnLoad="namosw_init_list('layer1'+ ');" OnResize="namosw_ns_resize();">
<div id="layer1" style="border-width:1px; border-style:none; width:171px; height:58px; position:absolute; left:3px; top:207px; z-index:1;">
<p> </p>
</div>
<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0"><!-- 전체 외각 테이블 -->
<tr height="91">
<!-- 상단 메뉴 시작 -->
<td>
<p><!-- 크기가 정해지지 않은 TD -->
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr bgcolor="#000000" height="91">
<!-- 크기가 정해진 TD -->
<td width="180" valign="top"><a href="http://wassum.80port.net/index_a.php" onFocus="blur()" target="_main"><img src="/images/rogo.png" onMouseOver="this.src='http://wassum.agoto.com/images/rogo_r.png'" onMouseOut="this.src='http://wassum.agoto.com/images/rogo.png'" border="0" width="191" height="91"></a></td>
<!-- 크기가 정해지지 않은 TD -->
<td valign="top"><a href="http://wassum.80port.net/beatbox.php" onFocus="blur()" target="_main"><img src="/images/beatbox.png" onMouseOver="this.src='http://wassum.agoto.com/images/beatbox_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/beatbox.png'" border="0" width="120" height="91"></a><a href="http://wassum.80port.net/gang.php" onFocus="blur()" target="_main"><img src="/images/gang.png" onMouseOver="this.src='http://wassum.agoto.com/images/gang_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/gang.png'" border="0" width="110" height="91"></a><a href="http://wassum.80port.net/data.php" onFocus="blur()" target="_main"><img src="/images/data.png" onMouseOver="this.src='http://wassum.agoto.com/images/data_rol.png'+ '" onMouseOut="this.src='http://wassum.agoto.com/images/data.png'" border="0" width="77" height="91"></a><a href="http://wassum.80port.net/bbs/zboard.php?id=yu" onFocus="blur()" target="_main"><img src="/images/test.png" onMouseOver="this.src='http://wassum.agoto.com/images/test_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/test.png'" border="0" width="112" height="91"></a><a href="http://wassum.80port.net/bbs/zboard.php?id=Free" onFocus="blur()" target="_main"><img src="/images/community.png" onMouseOver="this.src='http://wassum.agoto.com/images/community_rol.png'" onMouseOut="this.src='http://wassum.agoto.com/images/community.png'" border="0" width="77" height="91"></a></td>
</tr>
</table>
</td>
<!-- 상단 메뉴 끝 -->
<!-- 요게 좌측에 들어가는 배경이에요. -->
<td rowspan="3" width="35" bgcolor="black" background="/images/back_b.png"> </td><!-- 크기가 정해진 TD -->
<!-- 요게 좌측에 들어가는 배경이에요. -->
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- 좌측메뉴 시작 -->
<td width="190" valign="top" height="387"><!-- 크기가 정해진 TD -->
<table width="190" cellpadding="0" cellspacing="0">
<tr>
<td width="176" height="108" bgcolor="#FF9900" rowspan="2"><? print_outlogin("saltstar_login4", 1, 10) ?></td>
<td width="14" height="16" bgcolor="#DE8400" background="/images/back_oo.gif"> </td>
</tr>
<tr>
<td width="14" height="90" bgcolor="#DE8400">
</td>
</tr>
<tr>
<td height="19" bgcolor="#D6B200" width="176"> </td>
<td height="19" background="/images/back_o.gif" width="14"> </td>
</tr>
<tr>
<td height="138" bgcolor="#FFD400" width="176">
<p> </p>
</td>
<td height="87" bgcolor="#D6B200" width="14"></td>
</tr>
<tr>
<td bgcolor="#AFAFAE" height="15" width="176"> </td>
<td height="15" bgcolor="black" width="14" background="/images/back_g.gif"> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC" width="176" height="94">
<p align="center"> <iframe src="http://wassum.agoto.com/bbs/loged_2/pink_loged.php" frameborder="0" width="164" height="168" marginwidth="0"
marginheight="0" scrolling="auto"></iframe></td>
<td bgcolor="#AFAFAE" width="14" height="94"> </td>
</tr>
<tr>
<td height="16" bgcolor="#CCCCCC" width="176"> </td>
<td height="16" bgcolor="#AFAFAF" width="14" background="/images/back_b.gif"> </td>
</tr>
</table>
</td>
<!-- 좌측메뉴 끝 -->
<!-- 요기가 내용드어가는 부분이구요 -->
<td valign="top" bgcolor="black">