s

소스 <퀵메뉴>

· 17년 전 · 2621
따라다니는 메뉴입니다.
div에 보시면 left,width,height,top을 여러분에 맞게 수정하시면 됩니다.
<!-- S : Sub Menu // 따라다니는 link 메뉴 -->


<div id="quick" style="Z-INDEX: 1; LEFT: 910px; WIDTH: 87px; POSITION: absolute; TOP: 133px; HEIGHT: 319px">
<table width="87" height="319" border="0" cellpadding="0" cellspacing="0">
<tr>
   <td  valign="top"><img src="/img/Quick.gif" width="87" height="319" border="0" usemap="#Map"> </td>
</tr>
</table>
</div>
          
<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 MoveQuickMenu() {
                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.quick.style.pixelTop += percent;
                        if(NS) document.quick.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.quick.style.pixelLeft += percent;
                        if(NS) document.quick.top += percent;
                        lastScrollY = lastScrollY + percent;
                }        
        }        
        if(NS || IE) action = window.setInterval("MoveQuickMenu()",1);

</script>
<map name="Map">
  <area shape="rect" coords="7,39,81,100" href="/sub/intro.asp">
  <area shape="rect" coords="7,111,81,174" href="/sub/history.asp">
  <area shape="rect" coords="7,187,82,249" href="/sub/site.asp">
</map>
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
17년 전 조회 1,413
17년 전 조회 4,516
17년 전 조회 1,735
17년 전 조회 2,209
17년 전 조회 7,321
17년 전 조회 1,581
17년 전 조회 2,110
17년 전 조회 3,365
17년 전 조회 1,411
17년 전 조회 2,192
17년 전 조회 1,347
17년 전 조회 2,048
17년 전 조회 2,374
17년 전 조회 3,190
17년 전 조회 1,453
17년 전 조회 1,520
17년 전 조회 1,770
17년 전 조회 1,439
17년 전 조회 4,571
17년 전 조회 4,117
17년 전 조회 3,017
17년 전 조회 1,789
17년 전 조회 1,523
17년 전 조회 1,824
17년 전 조회 2,752
17년 전 조회 1,938
17년 전 조회 2,219
17년 전 조회 1,501
17년 전 조회 1,249
17년 전 조회 1,323
17년 전 조회 3,130
17년 전 조회 2,676
17년 전 조회 2,245
17년 전 조회 2,259
17년 전 조회 2,002
17년 전 조회 2,442
17년 전 조회 2,214
17년 전 조회 2,174
17년 전 조회 2,077
17년 전 조회 1,389
17년 전 조회 2,029
17년 전 조회 2,429
17년 전 조회 2,521
17년 전 조회 1,840
17년 전 조회 1,700
17년 전 조회 1,566
17년 전 조회 2,784
17년 전 조회 2,862
17년 전 조회 2,274
17년 전 조회 2,622
17년 전 조회 2,925
17년 전 조회 1,523
17년 전 조회 1,380
17년 전 조회 6,544
17년 전 조회 1,376
17년 전 조회 1,826
17년 전 조회 1,983
17년 전 조회 1,293
17년 전 조회 1,371
17년 전 조회 2,078
17년 전 조회 1,712
17년 전 조회 3,843
17년 전 조회 1,403
17년 전 조회 2,122
17년 전 조회 1,364
17년 전 조회 1,604
17년 전 조회 2,582
17년 전 조회 2,229
17년 전 조회 1,221
17년 전 조회 1,236
17년 전 조회 1,303
17년 전 조회 6,254
17년 전 조회 6,063
17년 전 조회 2,248
17년 전 조회 1,215
17년 전 조회 1,324
17년 전 조회 2,307
17년 전 조회 1,695
17년 전 조회 1,351
17년 전 조회 1,373
17년 전 조회 1,318
17년 전 조회 1,260
17년 전 조회 4,169
17년 전 조회 2,390
17년 전 조회 1,826
17년 전 조회 2,974
17년 전 조회 1,667
17년 전 조회 1,340
17년 전 조회 1,380
17년 전 조회 1,428
17년 전 조회 1,323
17년 전 조회 1,427
17년 전 조회 2,608
17년 전 조회 4,419
17년 전 조회 1,381
17년 전 조회 4,149
17년 전 조회 4,298
17년 전 조회 1,405
17년 전 조회 2,376
17년 전 조회 1,825