s

소스 <퀵메뉴>

· 17년 전 · 2433
따라다니는 메뉴입니다.
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,242
17년 전 조회 4,325
17년 전 조회 1,522
17년 전 조회 2,022
17년 전 조회 7,108
17년 전 조회 1,402
17년 전 조회 1,915
17년 전 조회 3,146
17년 전 조회 1,242
17년 전 조회 2,004
17년 전 조회 1,173
17년 전 조회 1,872
17년 전 조회 2,172
17년 전 조회 2,985
17년 전 조회 1,257
17년 전 조회 1,350
17년 전 조회 1,577
17년 전 조회 1,238
17년 전 조회 4,375
17년 전 조회 3,917
17년 전 조회 2,810
17년 전 조회 1,608
17년 전 조회 1,353
17년 전 조회 1,624
17년 전 조회 2,536
17년 전 조회 1,754
17년 전 조회 2,038
17년 전 조회 1,328
17년 전 조회 1,060
17년 전 조회 1,139
17년 전 조회 2,943
17년 전 조회 2,481
17년 전 조회 2,059
17년 전 조회 2,063
17년 전 조회 1,812
17년 전 조회 2,263
17년 전 조회 2,032
17년 전 조회 2,005
17년 전 조회 1,892
17년 전 조회 1,228
17년 전 조회 1,846
17년 전 조회 2,246
17년 전 조회 2,321
17년 전 조회 1,660
17년 전 조회 1,525
17년 전 조회 1,377
17년 전 조회 2,594
17년 전 조회 2,689
17년 전 조회 2,082
17년 전 조회 2,434
17년 전 조회 2,736
17년 전 조회 1,340
17년 전 조회 1,207
17년 전 조회 6,345
17년 전 조회 1,188
17년 전 조회 1,644
17년 전 조회 1,790
17년 전 조회 1,117
17년 전 조회 1,208
17년 전 조회 1,905
17년 전 조회 1,536
17년 전 조회 3,641
17년 전 조회 1,221
17년 전 조회 1,930
17년 전 조회 1,182
17년 전 조회 1,401
17년 전 조회 2,375
17년 전 조회 2,032
17년 전 조회 1,053
17년 전 조회 1,055
17년 전 조회 1,110
17년 전 조회 6,062
17년 전 조회 5,865
17년 전 조회 2,048
17년 전 조회 1,039
17년 전 조회 1,136
17년 전 조회 2,096
17년 전 조회 1,530
17년 전 조회 1,174
17년 전 조회 1,201
17년 전 조회 1,142
17년 전 조회 1,062
17년 전 조회 3,976
17년 전 조회 2,185
17년 전 조회 1,635
17년 전 조회 2,780
17년 전 조회 1,484
17년 전 조회 1,171
17년 전 조회 1,192
17년 전 조회 1,256
17년 전 조회 1,145
17년 전 조회 1,261
17년 전 조회 2,418
17년 전 조회 4,210
17년 전 조회 1,206
17년 전 조회 3,960
17년 전 조회 4,116
17년 전 조회 1,228
17년 전 조회 2,194
17년 전 조회 1,636