[TIP] 흐르는 TOP 버튼

· 15년 전 · 2025
흐르는 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,699
15년 전 조회 1,901
15년 전 조회 1,662
15년 전 조회 2,534
15년 전 조회 2,558
15년 전 조회 2,190
15년 전 조회 1,563
15년 전 조회 1,820
15년 전 조회 1,471
15년 전 조회 1,442
15년 전 조회 1,698
15년 전 조회 3,061
15년 전 조회 3,090
15년 전 조회 2,063
15년 전 조회 1,562
15년 전 조회 1,744
15년 전 조회 1,761
15년 전 조회 1,634
15년 전 조회 1,537
15년 전 조회 1,445
15년 전 조회 1,808
15년 전 조회 1,762
15년 전 조회 1,540
15년 전 조회 1,489
15년 전 조회 1,660
15년 전 조회 2,138
15년 전 조회 1,651
15년 전 조회 1,980
15년 전 조회 1,808
15년 전 조회 2,523
15년 전 조회 3,589
15년 전 조회 2,925
15년 전 조회 1,482
15년 전 조회 2,482
15년 전 조회 2,674
15년 전 조회 1,989
15년 전 조회 1,950
15년 전 조회 3,243
15년 전 조회 3,118
15년 전 조회 6,128
15년 전 조회 2,070
15년 전 조회 4,848
15년 전 조회 1,959
15년 전 조회 2,243
15년 전 조회 2,221
15년 전 조회 2,220
15년 전 조회 1,702
15년 전 조회 1,949
15년 전 조회 2,076
15년 전 조회 2,026
15년 전 조회 2,725
15년 전 조회 1,867
15년 전 조회 1,979
15년 전 조회 1,469
15년 전 조회 1,582
15년 전 조회 1,578
15년 전 조회 1,503
15년 전 조회 1,470
15년 전 조회 1,512
15년 전 조회 1,659
15년 전 조회 1,679
15년 전 조회 3,194
15년 전 조회 1,519
15년 전 조회 2,175
15년 전 조회 2,034
15년 전 조회 2,186
15년 전 조회 1,894
15년 전 조회 2,396
15년 전 조회 1,200
15년 전 조회 1,681
15년 전 조회 1,655
15년 전 조회 3,451
15년 전 조회 3,785
15년 전 조회 2,483
15년 전 조회 1,934
15년 전 조회 2,568
15년 전 조회 2,041
15년 전 조회 1,665
15년 전 조회 4,357
15년 전 조회 2,002
15년 전 조회 2,093
15년 전 조회 3,352
15년 전 조회 2,060
15년 전 조회 4,746
15년 전 조회 2,938
15년 전 조회 3,745
15년 전 조회 2,351
15년 전 조회 2,595
15년 전 조회 1,889
16년 전 조회 4,938
16년 전 조회 4,566
16년 전 조회 4,347
16년 전 조회 5,774
16년 전 조회 3,993
16년 전 조회 2,351
16년 전 조회 2,332
16년 전 조회 2,468
16년 전 조회 2,159
16년 전 조회 4,602
16년 전 조회 3,504