[TIP] 퀵메뉴 스크립트

· 15년 전 · 2141 · 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,302
15년 전 조회 1,102
15년 전 조회 1,953
15년 전 조회 1,962
15년 전 조회 1,616
15년 전 조회 972
15년 전 조회 1,210
15년 전 조회 905
15년 전 조회 851
15년 전 조회 1,103
15년 전 조회 2,460
15년 전 조회 2,480
15년 전 조회 1,458
15년 전 조회 1,005
15년 전 조회 1,162
15년 전 조회 1,160
15년 전 조회 1,032
15년 전 조회 930
15년 전 조회 859
15년 전 조회 1,222
15년 전 조회 1,174
15년 전 조회 920
15년 전 조회 893
15년 전 조회 1,067
15년 전 조회 1,535
15년 전 조회 1,063
15년 전 조회 1,389
15년 전 조회 1,229
15년 전 조회 1,904
15년 전 조회 2,964
15년 전 조회 2,300
15년 전 조회 896
15년 전 조회 1,908
15년 전 조회 2,096
15년 전 조회 1,399
15년 전 조회 1,368
15년 전 조회 2,637
15년 전 조회 2,523
15년 전 조회 5,506
15년 전 조회 1,476
15년 전 조회 4,238
15년 전 조회 1,366
15년 전 조회 1,665
15년 전 조회 1,630
15년 전 조회 1,620
15년 전 조회 1,123
15년 전 조회 1,369
15년 전 조회 1,511
15년 전 조회 1,416
15년 전 조회 2,142
15년 전 조회 1,288
15년 전 조회 1,346
15년 전 조회 892
15년 전 조회 1,001
15년 전 조회 966
15년 전 조회 930
15년 전 조회 880
15년 전 조회 942
15년 전 조회 1,083
15년 전 조회 1,102
15년 전 조회 2,623
15년 전 조회 948
15년 전 조회 1,602
15년 전 조회 1,469
15년 전 조회 1,599
15년 전 조회 1,301
15년 전 조회 1,790
15년 전 조회 608
15년 전 조회 1,096
15년 전 조회 1,067
15년 전 조회 2,859
15년 전 조회 3,175
15년 전 조회 1,849
15년 전 조회 1,356
15년 전 조회 1,974
15년 전 조회 1,478
15년 전 조회 1,082
15년 전 조회 3,777
15년 전 조회 1,421
15년 전 조회 1,517
15년 전 조회 2,744
15년 전 조회 1,444
15년 전 조회 4,169
15년 전 조회 2,381
15년 전 조회 3,159
15년 전 조회 1,775
15년 전 조회 2,004
15년 전 조회 1,305
15년 전 조회 4,382
15년 전 조회 3,959
15년 전 조회 3,784
15년 전 조회 5,200
15년 전 조회 3,421
15년 전 조회 1,802
15년 전 조회 1,761
15년 전 조회 1,906
15년 전 조회 1,598
15년 전 조회 3,998
15년 전 조회 2,912
15년 전 조회 2,094
🐛 버그신고