묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
따라다니는 레이어가 안됩니다.
2004.03.30 00:30
도무지 무슨 문제인지 감이 안잡히네요.
소스 첨부하니 혹시 잘못된부분이 있으면 지적해 주시면 감사하겠습니다.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>r1cE Blog :: Once in a Lifetime (Ver.2)</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
body {
background-color: #58a1ca;
margin-left: 0px;
margin-top: 0px;
}
-->
</style>
<style type="text/css">
<!--
#floater {position:absolute; visibility:visible}
-->
</style>
<script language="JavaScript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td width="912"><table width="912" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td><img src="images/logo.gif" width="411" height="50"></td>
</tr>
<tr>
<td><table width="912" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="856" valign="top"><table width="856" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main-table-top.gif" width="856" height="10"></td>
</tr>
<tr>
<td><table width="856" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3" bgcolor="9BC7DF"><img src="images/main-table-left.gif" width="3" height="5"></td>
<td width="180" bgcolor="F2F4F4" style="border-top-width:0px; border-right-width:1px; border-bottom-width:0px; border-left-width:0px; border-color:rgb(225,225,225); border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:none;"> </td>
<td bgcolor="#FFFFFF"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
<td width="3" bgcolor="9BC7DF"><img src="images/main-table-left.gif" width="3" height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/main-table-bottom.gif" width="856" height="10"></td>
</tr>
</table></td>
<td>
<div id=floater style="top:72px; z-index:10">
<table width="56" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10" rowspan="2"> </td>
<td><img src="images/admin-side.gif" width="46" height="39"></td>
</tr>
<tr>
<td><img src="images/zblog-side.gif" width="46" height="42"></td>
</tr>
</table>
</div>
</td>
</tr>
</table></td>
</tr>
</table></td>
<td valign="top"> </td>
</tr>
</table>
</body>
</html>
소스 첨부하니 혹시 잘못된부분이 있으면 지적해 주시면 감사하겠습니다.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>r1cE Blog :: Once in a Lifetime (Ver.2)</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
body {
background-color: #58a1ca;
margin-left: 0px;
margin-top: 0px;
}
-->
</style>
<style type="text/css">
<!--
#floater {position:absolute; visibility:visible}
-->
</style>
<script language="JavaScript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td width="912"><table width="912" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td><img src="images/logo.gif" width="411" height="50"></td>
</tr>
<tr>
<td><table width="912" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="856" valign="top"><table width="856" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main-table-top.gif" width="856" height="10"></td>
</tr>
<tr>
<td><table width="856" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3" bgcolor="9BC7DF"><img src="images/main-table-left.gif" width="3" height="5"></td>
<td width="180" bgcolor="F2F4F4" style="border-top-width:0px; border-right-width:1px; border-bottom-width:0px; border-left-width:0px; border-color:rgb(225,225,225); border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:none;"> </td>
<td bgcolor="#FFFFFF"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
<td width="3" bgcolor="9BC7DF"><img src="images/main-table-left.gif" width="3" height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/main-table-bottom.gif" width="856" height="10"></td>
</tr>
</table></td>
<td>
<div id=floater style="top:72px; z-index:10">
<table width="56" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10" rowspan="2"> </td>
<td><img src="images/admin-side.gif" width="46" height="39"></td>
</tr>
<tr>
<td><img src="images/zblog-side.gif" width="46" height="42"></td>
</tr>
</table>
</div>
</td>
</tr>
</table></td>
</tr>
</table></td>
<td valign="top"> </td>
</tr>
</table>
</body>
</html>