[TIP] 흐르는 TOP 버튼

· 15년 전 · 1418
흐르는 TOP 버튼

<!-- 흐르는 TOP 버튼 : 2008. 07. 24 -->
<div id="floater" style="position:absolute; left:1000px; top:500px; width:11px; height:20px; z-index:1">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><a href="#">TOP</a></td>
</tr>
</table>
</div>
<!-- 흐르는 TOP 버튼 끝 -->




<!-- 흐르는 TOP 버튼 스크립트 : 2008. 07. 24 -->
<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>
<!-- 흐르는 TOP 버튼 스크립트 끝 --> 
[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
15년 전 조회 1,106
15년 전 조회 1,302
15년 전 조회 1,102
15년 전 조회 1,953
15년 전 조회 1,963
15년 전 조회 1,616
15년 전 조회 972
15년 전 조회 1,210
15년 전 조회 905
15년 전 조회 852
15년 전 조회 1,103
15년 전 조회 2,460
15년 전 조회 2,483
15년 전 조회 1,458
15년 전 조회 1,006
15년 전 조회 1,162
15년 전 조회 1,163
15년 전 조회 1,032
15년 전 조회 930
15년 전 조회 860
15년 전 조회 1,222
15년 전 조회 1,174
15년 전 조회 920
15년 전 조회 894
15년 전 조회 1,067
15년 전 조회 1,535
15년 전 조회 1,065
15년 전 조회 1,389
15년 전 조회 1,230
15년 전 조회 1,905
15년 전 조회 2,965
15년 전 조회 2,300
15년 전 조회 896
15년 전 조회 1,909
15년 전 조회 2,096
15년 전 조회 1,399
15년 전 조회 1,369
15년 전 조회 2,638
15년 전 조회 2,523
15년 전 조회 5,507
15년 전 조회 1,476
15년 전 조회 4,238
15년 전 조회 1,366
15년 전 조회 1,665
15년 전 조회 1,630
15년 전 조회 1,620
15년 전 조회 1,123
15년 전 조회 1,370
15년 전 조회 1,511
15년 전 조회 1,419
15년 전 조회 2,142
15년 전 조회 1,288
15년 전 조회 1,346
15년 전 조회 893
15년 전 조회 1,001
15년 전 조회 969
15년 전 조회 931
15년 전 조회 881
15년 전 조회 944
15년 전 조회 1,083
15년 전 조회 1,103
15년 전 조회 2,623
15년 전 조회 949
15년 전 조회 1,602
15년 전 조회 1,472
15년 전 조회 1,599
15년 전 조회 1,302
15년 전 조회 1,792
15년 전 조회 609
15년 전 조회 1,097
15년 전 조회 1,067
15년 전 조회 2,860
15년 전 조회 3,175
15년 전 조회 1,850
15년 전 조회 1,357
15년 전 조회 1,975
15년 전 조회 1,478
15년 전 조회 1,084
15년 전 조회 3,777
15년 전 조회 1,421
15년 전 조회 1,517
15년 전 조회 2,746
15년 전 조회 1,445
15년 전 조회 4,170
15년 전 조회 2,381
15년 전 조회 3,161
15년 전 조회 1,777
15년 전 조회 2,004
15년 전 조회 1,305
15년 전 조회 4,382
15년 전 조회 3,959
15년 전 조회 3,785
15년 전 조회 5,201
15년 전 조회 3,422
15년 전 조회 1,802
15년 전 조회 1,761
15년 전 조회 1,906
15년 전 조회 1,599
15년 전 조회 4,001
15년 전 조회 2,914
🐛 버그신고