s

소스 <퀵메뉴>

· 17년 전 · 2440
따라다니는 메뉴입니다.
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,247
17년 전 조회 4,329
17년 전 조회 1,529
17년 전 조회 2,027
17년 전 조회 7,114
17년 전 조회 1,405
17년 전 조회 1,922
17년 전 조회 3,151
17년 전 조회 1,248
17년 전 조회 2,011
17년 전 조회 1,177
17년 전 조회 1,879
17년 전 조회 2,180
17년 전 조회 2,991
17년 전 조회 1,264
17년 전 조회 1,353
17년 전 조회 1,581
17년 전 조회 1,243
17년 전 조회 4,380
17년 전 조회 3,923
17년 전 조회 2,814
17년 전 조회 1,611
17년 전 조회 1,358
17년 전 조회 1,629
17년 전 조회 2,542
17년 전 조회 1,755
17년 전 조회 2,042
17년 전 조회 1,331
17년 전 조회 1,066
17년 전 조회 1,145
17년 전 조회 2,948
17년 전 조회 2,486
17년 전 조회 2,066
17년 전 조회 2,068
17년 전 조회 1,818
17년 전 조회 2,270
17년 전 조회 2,040
17년 전 조회 2,009
17년 전 조회 1,897
17년 전 조회 1,230
17년 전 조회 1,849
17년 전 조회 2,249
17년 전 조회 2,325
17년 전 조회 1,667
17년 전 조회 1,529
17년 전 조회 1,380
17년 전 조회 2,599
17년 전 조회 2,693
17년 전 조회 2,088
17년 전 조회 2,441
17년 전 조회 2,743
17년 전 조회 1,342
17년 전 조회 1,212
17년 전 조회 6,351
17년 전 조회 1,192
17년 전 조회 1,653
17년 전 조회 1,793
17년 전 조회 1,123
17년 전 조회 1,213
17년 전 조회 1,910
17년 전 조회 1,538
17년 전 조회 3,646
17년 전 조회 1,226
17년 전 조회 1,932
17년 전 조회 1,187
17년 전 조회 1,405
17년 전 조회 2,379
17년 전 조회 2,033
17년 전 조회 1,056
17년 전 조회 1,061
17년 전 조회 1,118
17년 전 조회 6,066
17년 전 조회 5,869
17년 전 조회 2,054
17년 전 조회 1,042
17년 전 조회 1,140
17년 전 조회 2,102
17년 전 조회 1,534
17년 전 조회 1,177
17년 전 조회 1,208
17년 전 조회 1,146
17년 전 조회 1,069
17년 전 조회 3,981
17년 전 조회 2,192
17년 전 조회 1,641
17년 전 조회 2,789
17년 전 조회 1,486
17년 전 조회 1,175
17년 전 조회 1,195
17년 전 조회 1,261
17년 전 조회 1,148
17년 전 조회 1,263
17년 전 조회 2,423
17년 전 조회 4,215
17년 전 조회 1,211
17년 전 조회 3,966
17년 전 조회 4,121
17년 전 조회 1,230
17년 전 조회 2,196
17년 전 조회 1,640