s

소스 <퀵메뉴>

· 17년 전 · 2590
따라다니는 메뉴입니다.
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,383
17년 전 조회 4,483
17년 전 조회 1,704
17년 전 조회 2,175
17년 전 조회 7,289
17년 전 조회 1,548
17년 전 조회 2,076
17년 전 조회 3,333
17년 전 조회 1,383
17년 전 조회 2,162
17년 전 조회 1,314
17년 전 조회 2,028
17년 전 조회 2,348
17년 전 조회 3,162
17년 전 조회 1,425
17년 전 조회 1,489
17년 전 조회 1,739
17년 전 조회 1,408
17년 전 조회 4,541
17년 전 조회 4,083
17년 전 조회 2,977
17년 전 조회 1,760
17년 전 조회 1,497
17년 전 조회 1,793
17년 전 조회 2,720
17년 전 조회 1,913
17년 전 조회 2,186
17년 전 조회 1,472
17년 전 조회 1,218
17년 전 조회 1,290
17년 전 조회 3,101
17년 전 조회 2,649
17년 전 조회 2,213
17년 전 조회 2,230
17년 전 조회 1,970
17년 전 조회 2,413
17년 전 조회 2,192
17년 전 조회 2,147
17년 전 조회 2,042
17년 전 조회 1,363
17년 전 조회 1,995
17년 전 조회 2,406
17년 전 조회 2,484
17년 전 조회 1,806
17년 전 조회 1,672
17년 전 조회 1,530
17년 전 조회 2,754
17년 전 조회 2,838
17년 전 조회 2,244
17년 전 조회 2,591
17년 전 조회 2,890
17년 전 조회 1,489
17년 전 조회 1,349
17년 전 조회 6,509
17년 전 조회 1,350
17년 전 조회 1,805
17년 전 조회 1,953
17년 전 조회 1,263
17년 전 조회 1,340
17년 전 조회 2,049
17년 전 조회 1,692
17년 전 조회 3,807
17년 전 조회 1,377
17년 전 조회 2,091
17년 전 조회 1,334
17년 전 조회 1,574
17년 전 조회 2,557
17년 전 조회 2,199
17년 전 조회 1,188
17년 전 조회 1,214
17년 전 조회 1,275
17년 전 조회 6,221
17년 전 조회 6,034
17년 전 조회 2,215
17년 전 조회 1,183
17년 전 조회 1,299
17년 전 조회 2,266
17년 전 조회 1,664
17년 전 조회 1,326
17년 전 조회 1,348
17년 전 조회 1,292
17년 전 조회 1,226
17년 전 조회 4,141
17년 전 조회 2,355
17년 전 조회 1,802
17년 전 조회 2,944
17년 전 조회 1,634
17년 전 조회 1,319
17년 전 조회 1,344
17년 전 조회 1,404
17년 전 조회 1,296
17년 전 조회 1,398
17년 전 조회 2,582
17년 전 조회 4,382
17년 전 조회 1,348
17년 전 조회 4,114
17년 전 조회 4,268
17년 전 조회 1,374
17년 전 조회 2,350
17년 전 조회 1,796