묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
인덱스에서 넘어가면 스크롤이 안생겨요..
2004.05.27 11:44
인덱스프레임는 대문그림 넣는데랑 배경음악 넣는 거 두개로 나웠구요
사진을 누르고 메인페이지로 넘어가면 스크롤바가 안생기네요...
소스 보시고 왜 그런건지 좀 알려주세용T_T
메인페이지 소스
<?
$_zb_url = "http://jmmk.ivyro.net/zboard/";
$_zb_path = "/home1/jmmk/public_html/zboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<title>종 민 ♡ 미 경</title>
<STYLE>
BODY { scrollbar-3dlight-color:EAEAEA;
scrollbar-arrow-color:000000;
scrollbar-track-color:#FFFFFF;
scrollbar-darkshadow-color:EAEAEA;
scrollbar-face-color:EAEAEA;
scrollbar-highlight-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF}
</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 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="images/bg.jpg">
<table cellpadding="0" cellspacing="0" width="1024">
<tr>
<td width="1024" colspan="7" bgcolor="black">
<p><img src="http://jmmk.ivyro.net/images/line.jpg" width="1" height="6" border="0"></p>
</td>
</tr>
<tr>
<td width="790" colspan="5">
<p><img src="http://jmmk.ivyro.net/images/h.jpg" width="790" height="73" border="0" usemap="#ImageMap1"></p>
</td>
<td width="1" rowspan="2" bgcolor="#E5E5E5" height="167">
</td>
<td width="233" rowspan="2" height="167">
<p> </p>
</td>
</tr>
<tr>
<td width="29" height="94" valign="top" bgcolor="white">
<p> </p>
</td>
<td width="1" height="94" valign="top" bgcolor="#D8D8D8">
</td>
<td width="163" height="381" valign="top" bgcolor="white">
<p><img src="http://jmmk.ivyro.net/images/ma.jpg" width="163" height="211" border="0"></p>
<p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"><? print_outlogin("login", 1, 10) ?>
</p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"><img src="http://jmmk.ivyro.net/bn/8-10.gif" width="90" height="30" border="0"></p>
</td>
<td width="1" height="94" valign="top" bgcolor="#D8D8D8">
</td>
<td width="596" height="94" valign="top" bgcolor="white">
<p style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
<table style="line-height:100%; margin-top:0; margin-bottom:0;" align="center" cellpadding="0" cellspacing="0" width="570">
<tr>
<td width="320" rowspan="3" height="40">
<p>
<? print_bbs("new_n", "공지사항", "notice", 3, 20)?></p>
</td>
<td width="11" rowspan="3" height="40">
<p> </p>
</td>
<td width="239">
<p><? print_bbs("new_b", "나의하루", "diary", 5, 22)?></p>
</td>
</tr>
<tr>
<td width="239" height="8">
</td>
</tr>
<tr>
<td width="239">
<p><? print_bbs("new_b", "이야기꾸러미", "board", 6, 22)?></p>
</td>
</tr>
<tr>
<td width="570" colspan="3" height="50">
</td>
</tr>
<tr>
<td width="570" colspan="3">
<table cellpadding="0" cellspacing="0" width="560">
<tr>
<td width="273">
<p><? print_gallery("new_g", "종민♡미경", "photo1", 4, 60, 60, 4) ?></p>
</td>
<td width="10">
<p> </p>
</td>
<td width="277">
<p><? print_gallery("new_g", "소중한♡", "photo2", 4, 60, 60, 4) ?></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="570" colspan="3" height="10">
</td>
</tr>
<tr>
<td width="570" colspan="3">
<table cellpadding="0" cellspacing="0" width="558">
<tr>
<td width="273"> <p><? print_gallery("new_g", "선물함", "photo3", 4, 60, 60, 4) ?></p>
</td>
<td width="10">
<p> </p>
</td>
<td width="275" align="right" valign="bottom">
<p><script language="JavaScript">
<!--
var now = new Date();
var then = new Date("January 4,2003");
var gap = now.getTime() - then.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
document.write("우리 사랑한지 " + gap + "일째 되는 날♡");
// -- >
</script>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="1024" colspan="7" bgcolor="#BEBEBE">
<p><img src="http://jmmk.ivyro.net/images/u.jpg" width="790" height="18" border="0"></p>
</td>
</tr>
</table>
<map name="ImageMap1">
<area shape="rect" coords="212, 15, 282, 29" href="http://jmmk.ivyro.net/profile.htm" onfocus='blur()'>
<area shape="rect" coords="306, 16, 365, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=diary" onfocus='blur()'>
<area shape="rect" coords="389, 16, 464, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=photo1" onfocus='blur()'>
<area shape="rect" coords="500, 15, 568, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=board" onfocus='blur()'>
<area shape="rect" coords="603, 15, 683, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=guest" onfocus='blur()'>
<area shape="rect" coords="715, 15, 772, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=link" onfocus='blur()'>
</map>
<div id=floater style="left:800; top:100; width:120; height:120; z-index:10"><img src="http://jmmk.ivyro.net/images/1.gif"></div>
</body>
</html>
사진을 누르고 메인페이지로 넘어가면 스크롤바가 안생기네요...
소스 보시고 왜 그런건지 좀 알려주세용T_T
메인페이지 소스
<?
$_zb_url = "http://jmmk.ivyro.net/zboard/";
$_zb_path = "/home1/jmmk/public_html/zboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<title>종 민 ♡ 미 경</title>
<STYLE>
BODY { scrollbar-3dlight-color:EAEAEA;
scrollbar-arrow-color:000000;
scrollbar-track-color:#FFFFFF;
scrollbar-darkshadow-color:EAEAEA;
scrollbar-face-color:EAEAEA;
scrollbar-highlight-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF}
</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 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="images/bg.jpg">
<table cellpadding="0" cellspacing="0" width="1024">
<tr>
<td width="1024" colspan="7" bgcolor="black">
<p><img src="http://jmmk.ivyro.net/images/line.jpg" width="1" height="6" border="0"></p>
</td>
</tr>
<tr>
<td width="790" colspan="5">
<p><img src="http://jmmk.ivyro.net/images/h.jpg" width="790" height="73" border="0" usemap="#ImageMap1"></p>
</td>
<td width="1" rowspan="2" bgcolor="#E5E5E5" height="167">
</td>
<td width="233" rowspan="2" height="167">
<p> </p>
</td>
</tr>
<tr>
<td width="29" height="94" valign="top" bgcolor="white">
<p> </p>
</td>
<td width="1" height="94" valign="top" bgcolor="#D8D8D8">
</td>
<td width="163" height="381" valign="top" bgcolor="white">
<p><img src="http://jmmk.ivyro.net/images/ma.jpg" width="163" height="211" border="0"></p>
<p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"><? print_outlogin("login", 1, 10) ?>
</p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"> </p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"><img src="http://jmmk.ivyro.net/bn/8-10.gif" width="90" height="30" border="0"></p>
</td>
<td width="1" height="94" valign="top" bgcolor="#D8D8D8">
</td>
<td width="596" height="94" valign="top" bgcolor="white">
<p style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
<table style="line-height:100%; margin-top:0; margin-bottom:0;" align="center" cellpadding="0" cellspacing="0" width="570">
<tr>
<td width="320" rowspan="3" height="40">
<p>
<? print_bbs("new_n", "공지사항", "notice", 3, 20)?></p>
</td>
<td width="11" rowspan="3" height="40">
<p> </p>
</td>
<td width="239">
<p><? print_bbs("new_b", "나의하루", "diary", 5, 22)?></p>
</td>
</tr>
<tr>
<td width="239" height="8">
</td>
</tr>
<tr>
<td width="239">
<p><? print_bbs("new_b", "이야기꾸러미", "board", 6, 22)?></p>
</td>
</tr>
<tr>
<td width="570" colspan="3" height="50">
</td>
</tr>
<tr>
<td width="570" colspan="3">
<table cellpadding="0" cellspacing="0" width="560">
<tr>
<td width="273">
<p><? print_gallery("new_g", "종민♡미경", "photo1", 4, 60, 60, 4) ?></p>
</td>
<td width="10">
<p> </p>
</td>
<td width="277">
<p><? print_gallery("new_g", "소중한♡", "photo2", 4, 60, 60, 4) ?></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="570" colspan="3" height="10">
</td>
</tr>
<tr>
<td width="570" colspan="3">
<table cellpadding="0" cellspacing="0" width="558">
<tr>
<td width="273"> <p><? print_gallery("new_g", "선물함", "photo3", 4, 60, 60, 4) ?></p>
</td>
<td width="10">
<p> </p>
</td>
<td width="275" align="right" valign="bottom">
<p><script language="JavaScript">
<!--
var now = new Date();
var then = new Date("January 4,2003");
var gap = now.getTime() - then.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
document.write("우리 사랑한지 " + gap + "일째 되는 날♡");
// -- >
</script>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
</td>
</tr>
<tr>
<td width="1024" colspan="7" bgcolor="#BEBEBE">
<p><img src="http://jmmk.ivyro.net/images/u.jpg" width="790" height="18" border="0"></p>
</td>
</tr>
</table>
<map name="ImageMap1">
<area shape="rect" coords="212, 15, 282, 29" href="http://jmmk.ivyro.net/profile.htm" onfocus='blur()'>
<area shape="rect" coords="306, 16, 365, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=diary" onfocus='blur()'>
<area shape="rect" coords="389, 16, 464, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=photo1" onfocus='blur()'>
<area shape="rect" coords="500, 15, 568, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=board" onfocus='blur()'>
<area shape="rect" coords="603, 15, 683, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=guest" onfocus='blur()'>
<area shape="rect" coords="715, 15, 772, 29" href="http://jmmk.ivyro.net/zboard/zboard.php?id=link" onfocus='blur()'>
</map>
<div id=floater style="left:800; top:100; width:120; height:120; z-index:10"><img src="http://jmmk.ivyro.net/images/1.gif"></div>
</body>
</html>
프래임셋 문서에서 스크롤 속성이....??
음악을 넣으면서 프래임을나눠 노래가 끊기지않도록하신거같은대....
scrolling="auto" no yes
자동 없음 항상
확인해보세요 ...