[TIP] 퀵메뉴 스크립트

· 15년 전 · 2139 · 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,301
15년 전 조회 1,099
15년 전 조회 1,952
15년 전 조회 1,960
15년 전 조회 1,612
15년 전 조회 967
15년 전 조회 1,206
15년 전 조회 901
15년 전 조회 850
15년 전 조회 1,101
15년 전 조회 2,458
15년 전 조회 2,479
15년 전 조회 1,455
15년 전 조회 1,003
15년 전 조회 1,161
15년 전 조회 1,157
15년 전 조회 1,029
15년 전 조회 929
15년 전 조회 856
15년 전 조회 1,217
15년 전 조회 1,172
15년 전 조회 917
15년 전 조회 892
15년 전 조회 1,063
15년 전 조회 1,530
15년 전 조회 1,061
15년 전 조회 1,386
15년 전 조회 1,227
15년 전 조회 1,901
15년 전 조회 2,961
15년 전 조회 2,297
15년 전 조회 893
15년 전 조회 1,903
15년 전 조회 2,091
15년 전 조회 1,393
15년 전 조회 1,368
15년 전 조회 2,635
15년 전 조회 2,520
15년 전 조회 5,504
15년 전 조회 1,474
15년 전 조회 4,236
15년 전 조회 1,364
15년 전 조회 1,664
15년 전 조회 1,626
15년 전 조회 1,616
15년 전 조회 1,119
15년 전 조회 1,365
15년 전 조회 1,509
15년 전 조회 1,411
15년 전 조회 2,140
15년 전 조회 1,286
15년 전 조회 1,342
15년 전 조회 888
15년 전 조회 998
15년 전 조회 961
15년 전 조회 927
15년 전 조회 876
15년 전 조회 940
15년 전 조회 1,079
15년 전 조회 1,102
15년 전 조회 2,620
15년 전 조회 948
15년 전 조회 1,602
15년 전 조회 1,468
15년 전 조회 1,593
15년 전 조회 1,300
15년 전 조회 1,787
15년 전 조회 605
15년 전 조회 1,096
15년 전 조회 1,061
15년 전 조회 2,855
15년 전 조회 3,171
15년 전 조회 1,846
15년 전 조회 1,351
15년 전 조회 1,972
15년 전 조회 1,474
15년 전 조회 1,077
15년 전 조회 3,775
15년 전 조회 1,417
15년 전 조회 1,512
15년 전 조회 2,742
15년 전 조회 1,439
15년 전 조회 4,163
15년 전 조회 2,377
15년 전 조회 3,155
15년 전 조회 1,772
15년 전 조회 2,000
15년 전 조회 1,301
15년 전 조회 4,379
15년 전 조회 3,957
15년 전 조회 3,781
15년 전 조회 5,197
15년 전 조회 3,419
15년 전 조회 1,799
15년 전 조회 1,760
15년 전 조회 1,901
15년 전 조회 1,598
15년 전 조회 3,998
15년 전 조회 2,909
15년 전 조회 2,091
🐛 버그신고