묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
따라다니는 레이어 안따라댕겨요 ㅠ_ㅠ
2004.07.08 21:30
.
.
.
.
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
background-image: url(background.gif);
}
-->
#STATICMENU
{
position:absolute;
visibility:visible;
left:expression((document.body.clientWidth-this.style.width)/2-this.getAttribute("pos"));
width:58px;
height:161px;
z-index:10;
top:118px;
}
</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>
<div id="STATICMENU" pos=-358>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="58" height="161">
<param name="movie" value="-_-.swf">
<param name="quality" value="high">
<PARAM NAME=wmode VALUE=transparent>
<embed src="-_-.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="58" height="161" wmode=transparent></embed>
</object>
</div>
.
.
.
.
.
잘못된게 있나요?
.
.
.
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
background-image: url(background.gif);
}
-->
#STATICMENU
{
position:absolute;
visibility:visible;
left:expression((document.body.clientWidth-this.style.width)/2-this.getAttribute("pos"));
width:58px;
height:161px;
z-index:10;
top:118px;
}
</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>
<div id="STATICMENU" pos=-358>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="58" height="161">
<param name="movie" value="-_-.swf">
<param name="quality" value="high">
<PARAM NAME=wmode VALUE=transparent>
<embed src="-_-.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="58" height="161" wmode=transparent></embed>
</object>
</div>
.
.
.
.
.
잘못된게 있나요?