s

소스 <퀵메뉴>

· 17년 전 · 2612
따라다니는 메뉴입니다.
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,407
17년 전 조회 4,511
17년 전 조회 1,727
17년 전 조회 2,203
17년 전 조회 7,316
17년 전 조회 1,574
17년 전 조회 2,105
17년 전 조회 3,357
17년 전 조회 1,406
17년 전 조회 2,185
17년 전 조회 1,343
17년 전 조회 2,041
17년 전 조회 2,369
17년 전 조회 3,184
17년 전 조회 1,447
17년 전 조회 1,513
17년 전 조회 1,765
17년 전 조회 1,432
17년 전 조회 4,564
17년 전 조회 4,108
17년 전 조회 3,007
17년 전 조회 1,780
17년 전 조회 1,520
17년 전 조회 1,815
17년 전 조회 2,747
17년 전 조회 1,933
17년 전 조회 2,214
17년 전 조회 1,495
17년 전 조회 1,241
17년 전 조회 1,318
17년 전 조회 3,124
17년 전 조회 2,671
17년 전 조회 2,237
17년 전 조회 2,253
17년 전 조회 1,993
17년 전 조회 2,437
17년 전 조회 2,209
17년 전 조회 2,169
17년 전 조회 2,069
17년 전 조회 1,383
17년 전 조회 2,020
17년 전 조회 2,424
17년 전 조회 2,509
17년 전 조회 1,834
17년 전 조회 1,694
17년 전 조회 1,558
17년 전 조회 2,780
17년 전 조회 2,853
17년 전 조회 2,267
17년 전 조회 2,613
17년 전 조회 2,923
17년 전 조회 1,516
17년 전 조회 1,374
17년 전 조회 6,534
17년 전 조회 1,369
17년 전 조회 1,818
17년 전 조회 1,977
17년 전 조회 1,284
17년 전 조회 1,364
17년 전 조회 2,072
17년 전 조회 1,708
17년 전 조회 3,829
17년 전 조회 1,396
17년 전 조회 2,113
17년 전 조회 1,357
17년 전 조회 1,592
17년 전 조회 2,579
17년 전 조회 2,223
17년 전 조회 1,218
17년 전 조회 1,230
17년 전 조회 1,296
17년 전 조회 6,247
17년 전 조회 6,057
17년 전 조회 2,238
17년 전 조회 1,212
17년 전 조회 1,316
17년 전 조회 2,300
17년 전 조회 1,691
17년 전 조회 1,345
17년 전 조회 1,369
17년 전 조회 1,313
17년 전 조회 1,254
17년 전 조회 4,161
17년 전 조회 2,381
17년 전 조회 1,816
17년 전 조회 2,966
17년 전 조회 1,660
17년 전 조회 1,336
17년 전 조회 1,370
17년 전 조회 1,420
17년 전 조회 1,318
17년 전 조회 1,424
17년 전 조회 2,602
17년 전 조회 4,409
17년 전 조회 1,373
17년 전 조회 4,139
17년 전 조회 4,290
17년 전 조회 1,403
17년 전 조회 2,371
17년 전 조회 1,822