s

소스 <퀵메뉴>

· 17년 전 · 2550
따라다니는 메뉴입니다.
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,339
17년 전 조회 4,441
17년 전 조회 1,656
17년 전 조회 2,133
17년 전 조회 7,237
17년 전 조회 1,501
17년 전 조회 2,030
17년 전 조회 3,275
17년 전 조회 1,340
17년 전 조회 2,113
17년 전 조회 1,264
17년 전 조회 1,975
17년 전 조회 2,299
17년 전 조회 3,111
17년 전 조회 1,379
17년 전 조회 1,441
17년 전 조회 1,691
17년 전 조회 1,359
17년 전 조회 4,493
17년 전 조회 4,026
17년 전 조회 2,919
17년 전 조회 1,716
17년 전 조회 1,456
17년 전 조회 1,741
17년 전 조회 2,669
17년 전 조회 1,862
17년 전 조회 2,139
17년 전 조회 1,425
17년 전 조회 1,171
17년 전 조회 1,247
17년 전 조회 3,057
17년 전 조회 2,599
17년 전 조회 2,164
17년 전 조회 2,182
17년 전 조회 1,917
17년 전 조회 2,365
17년 전 조회 2,144
17년 전 조회 2,103
17년 전 조회 2,000
17년 전 조회 1,314
17년 전 조회 1,941
17년 전 조회 2,354
17년 전 조회 2,442
17년 전 조회 1,766
17년 전 조회 1,626
17년 전 조회 1,491
17년 전 조회 2,707
17년 전 조회 2,795
17년 전 조회 2,201
17년 전 조회 2,551
17년 전 조회 2,851
17년 전 조회 1,442
17년 전 조회 1,307
17년 전 조회 6,465
17년 전 조회 1,303
17년 전 조회 1,759
17년 전 조회 1,904
17년 전 조회 1,218
17년 전 조회 1,310
17년 전 조회 2,006
17년 전 조회 1,640
17년 전 조회 3,762
17년 전 조회 1,330
17년 전 조회 2,042
17년 전 조회 1,284
17년 전 조회 1,524
17년 전 조회 2,508
17년 전 조회 2,147
17년 전 조회 1,150
17년 전 조회 1,166
17년 전 조회 1,229
17년 전 조회 6,173
17년 전 조회 5,979
17년 전 조회 2,172
17년 전 조회 1,144
17년 전 조회 1,251
17년 전 조회 2,216
17년 전 조회 1,620
17년 전 조회 1,282
17년 전 조회 1,314
17년 전 조회 1,248
17년 전 조회 1,181
17년 전 조회 4,094
17년 전 조회 2,302
17년 전 조회 1,755
17년 전 조회 2,902
17년 전 조회 1,588
17년 전 조회 1,268
17년 전 조회 1,297
17년 전 조회 1,360
17년 전 조회 1,250
17년 전 조회 1,352
17년 전 조회 2,528
17년 전 조회 4,339
17년 전 조회 1,307
17년 전 조회 4,065
17년 전 조회 4,221
17년 전 조회 1,333
17년 전 조회 2,299
17년 전 조회 1,744