[TIP] 퀵메뉴 스크립트

· 15년 전 · 2138 · 1

<!-- 퀵메뉴스크립트 -->
<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.pixelRight += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>

<!-- 퀵메뉴스크립트여기까지 -->

 

<!-- 레이어 삽입-->
<div id=floater style="top:140px; width:83px; height:532px; z-index:10"><퀵메뉴></div>

[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]
|

댓글 1개

유용하게 쓰겟습니다^^
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
15년 전 조회 1,299
15년 전 조회 1,098
15년 전 조회 1,952
15년 전 조회 1,960
15년 전 조회 1,611
15년 전 조회 966
15년 전 조회 1,206
15년 전 조회 899
15년 전 조회 849
15년 전 조회 1,100
15년 전 조회 2,456
15년 전 조회 2,478
15년 전 조회 1,453
15년 전 조회 1,002
15년 전 조회 1,160
15년 전 조회 1,156
15년 전 조회 1,028
15년 전 조회 928
15년 전 조회 855
15년 전 조회 1,217
15년 전 조회 1,170
15년 전 조회 917
15년 전 조회 890
15년 전 조회 1,063
15년 전 조회 1,530
15년 전 조회 1,059
15년 전 조회 1,386
15년 전 조회 1,227
15년 전 조회 1,901
15년 전 조회 2,960
15년 전 조회 2,297
15년 전 조회 892
15년 전 조회 1,902
15년 전 조회 2,089
15년 전 조회 1,393
15년 전 조회 1,367
15년 전 조회 2,635
15년 전 조회 2,519
15년 전 조회 5,504
15년 전 조회 1,473
15년 전 조회 4,235
15년 전 조회 1,364
15년 전 조회 1,664
15년 전 조회 1,626
15년 전 조회 1,616
15년 전 조회 1,119
15년 전 조회 1,364
15년 전 조회 1,507
15년 전 조회 1,410
15년 전 조회 2,139
15년 전 조회 1,283
15년 전 조회 1,342
15년 전 조회 887
15년 전 조회 998
15년 전 조회 960
15년 전 조회 924
15년 전 조회 875
15년 전 조회 939
15년 전 조회 1,079
15년 전 조회 1,101
15년 전 조회 2,620
15년 전 조회 948
15년 전 조회 1,601
15년 전 조회 1,468
15년 전 조회 1,591
15년 전 조회 1,300
15년 전 조회 1,786
15년 전 조회 605
15년 전 조회 1,093
15년 전 조회 1,061
15년 전 조회 2,854
15년 전 조회 3,171
15년 전 조회 1,845
15년 전 조회 1,351
15년 전 조회 1,970
15년 전 조회 1,473
15년 전 조회 1,077
15년 전 조회 3,773
15년 전 조회 1,415
15년 전 조회 1,511
15년 전 조회 2,742
15년 전 조회 1,438
15년 전 조회 4,162
15년 전 조회 2,376
15년 전 조회 3,155
15년 전 조회 1,771
15년 전 조회 2,000
15년 전 조회 1,301
15년 전 조회 4,376
15년 전 조회 3,957
15년 전 조회 3,780
15년 전 조회 5,197
15년 전 조회 3,418
15년 전 조회 1,797
15년 전 조회 1,759
15년 전 조회 1,901
15년 전 조회 1,597
15년 전 조회 3,998
15년 전 조회 2,908
15년 전 조회 2,091
🐛 버그신고