[TIP] 퀵메뉴 스크립트

· 15년 전 · 2136 · 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,295
15년 전 조회 1,094
15년 전 조회 1,950
15년 전 조회 1,958
15년 전 조회 1,610
15년 전 조회 965
15년 전 조회 1,202
15년 전 조회 898
15년 전 조회 848
15년 전 조회 1,097
15년 전 조회 2,454
15년 전 조회 2,475
15년 전 조회 1,451
15년 전 조회 1,001
15년 전 조회 1,155
15년 전 조회 1,155
15년 전 조회 1,027
15년 전 조회 926
15년 전 조회 853
15년 전 조회 1,216
15년 전 조회 1,168
15년 전 조회 916
15년 전 조회 885
15년 전 조회 1,062
15년 전 조회 1,528
15년 전 조회 1,057
15년 전 조회 1,384
15년 전 조회 1,225
15년 전 조회 1,899
15년 전 조회 2,958
15년 전 조회 2,295
15년 전 조회 890
15년 전 조회 1,902
15년 전 조회 2,085
15년 전 조회 1,391
15년 전 조회 1,364
15년 전 조회 2,631
15년 전 조회 2,516
15년 전 조회 5,502
15년 전 조회 1,471
15년 전 조회 4,232
15년 전 조회 1,363
15년 전 조회 1,657
15년 전 조회 1,625
15년 전 조회 1,614
15년 전 조회 1,118
15년 전 조회 1,363
15년 전 조회 1,507
15년 전 조회 1,408
15년 전 조회 2,137
15년 전 조회 1,282
15년 전 조회 1,341
15년 전 조회 886
15년 전 조회 997
15년 전 조회 960
15년 전 조회 924
15년 전 조회 871
15년 전 조회 935
15년 전 조회 1,075
15년 전 조회 1,100
15년 전 조회 2,617
15년 전 조회 943
15년 전 조회 1,598
15년 전 조회 1,465
15년 전 조회 1,591
15년 전 조회 1,297
15년 전 조회 1,786
15년 전 조회 604
15년 전 조회 1,089
15년 전 조회 1,059
15년 전 조회 2,850
15년 전 조회 3,169
15년 전 조회 1,840
15년 전 조회 1,350
15년 전 조회 1,968
15년 전 조회 1,471
15년 전 조회 1,076
15년 전 조회 3,772
15년 전 조회 1,413
15년 전 조회 1,509
15년 전 조회 2,741
15년 전 조회 1,435
15년 전 조회 4,161
15년 전 조회 2,374
15년 전 조회 3,150
15년 전 조회 1,769
15년 전 조회 1,998
15년 전 조회 1,299
15년 전 조회 4,374
15년 전 조회 3,956
15년 전 조회 3,779
15년 전 조회 5,192
15년 전 조회 3,416
15년 전 조회 1,795
15년 전 조회 1,754
15년 전 조회 1,900
15년 전 조회 1,595
15년 전 조회 3,993
15년 전 조회 2,905
15년 전 조회 2,089
🐛 버그신고