s

소스 <퀵메뉴>

· 17년 전 · 2559
따라다니는 메뉴입니다.
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,351
17년 전 조회 4,452
17년 전 조회 1,669
17년 전 조회 2,143
17년 전 조회 7,251
17년 전 조회 1,508
17년 전 조회 2,039
17년 전 조회 3,291
17년 전 조회 1,347
17년 전 조회 2,125
17년 전 조회 1,282
17년 전 조회 1,992
17년 전 조회 2,313
17년 전 조회 3,118
17년 전 조회 1,386
17년 전 조회 1,446
17년 전 조회 1,711
17년 전 조회 1,371
17년 전 조회 4,507
17년 전 조회 4,049
17년 전 조회 2,930
17년 전 조회 1,726
17년 전 조회 1,465
17년 전 조회 1,754
17년 전 조회 2,679
17년 전 조회 1,877
17년 전 조회 2,148
17년 전 조회 1,438
17년 전 조회 1,183
17년 전 조회 1,257
17년 전 조회 3,069
17년 전 조회 2,611
17년 전 조회 2,174
17년 전 조회 2,190
17년 전 조회 1,933
17년 전 조회 2,377
17년 전 조회 2,151
17년 전 조회 2,116
17년 전 조회 2,010
17년 전 조회 1,329
17년 전 조회 1,952
17년 전 조회 2,361
17년 전 조회 2,454
17년 전 조회 1,775
17년 전 조회 1,639
17년 전 조회 1,499
17년 전 조회 2,712
17년 전 조회 2,804
17년 전 조회 2,212
17년 전 조회 2,560
17년 전 조회 2,864
17년 전 조회 1,455
17년 전 조회 1,316
17년 전 조회 6,480
17년 전 조회 1,315
17년 전 조회 1,771
17년 전 조회 1,916
17년 전 조회 1,226
17년 전 조회 1,318
17년 전 조회 2,019
17년 전 조회 1,657
17년 전 조회 3,772
17년 전 조회 1,344
17년 전 조회 2,051
17년 전 조회 1,294
17년 전 조회 1,535
17년 전 조회 2,521
17년 전 조회 2,154
17년 전 조회 1,162
17년 전 조회 1,180
17년 전 조회 1,242
17년 전 조회 6,185
17년 전 조회 5,992
17년 전 조회 2,184
17년 전 조회 1,156
17년 전 조회 1,263
17년 전 조회 2,226
17년 전 조회 1,635
17년 전 조회 1,294
17년 전 조회 1,323
17년 전 조회 1,259
17년 전 조회 1,192
17년 전 조회 4,103
17년 전 조회 2,314
17년 전 조회 1,760
17년 전 조회 2,908
17년 전 조회 1,601
17년 전 조회 1,282
17년 전 조회 1,311
17년 전 조회 1,367
17년 전 조회 1,257
17년 전 조회 1,363
17년 전 조회 2,545
17년 전 조회 4,345
17년 전 조회 1,318
17년 전 조회 4,075
17년 전 조회 4,233
17년 전 조회 1,351
17년 전 조회 2,310
17년 전 조회 1,755