s

소스 <퀵메뉴>

· 17년 전 · 2432
따라다니는 메뉴입니다.
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,239
17년 전 조회 4,325
17년 전 조회 1,521
17년 전 조회 2,020
17년 전 조회 7,104
17년 전 조회 1,399
17년 전 조회 1,913
17년 전 조회 3,144
17년 전 조회 1,242
17년 전 조회 2,001
17년 전 조회 1,171
17년 전 조회 1,872
17년 전 조회 2,169
17년 전 조회 2,984
17년 전 조회 1,256
17년 전 조회 1,348
17년 전 조회 1,577
17년 전 조회 1,238
17년 전 조회 4,373
17년 전 조회 3,917
17년 전 조회 2,806
17년 전 조회 1,605
17년 전 조회 1,350
17년 전 조회 1,622
17년 전 조회 2,535
17년 전 조회 1,752
17년 전 조회 2,037
17년 전 조회 1,327
17년 전 조회 1,056
17년 전 조회 1,139
17년 전 조회 2,940
17년 전 조회 2,480
17년 전 조회 2,057
17년 전 조회 2,059
17년 전 조회 1,811
17년 전 조회 2,259
17년 전 조회 2,029
17년 전 조회 2,002
17년 전 조회 1,890
17년 전 조회 1,227
17년 전 조회 1,844
17년 전 조회 2,245
17년 전 조회 2,321
17년 전 조회 1,659
17년 전 조회 1,522
17년 전 조회 1,375
17년 전 조회 2,594
17년 전 조회 2,686
17년 전 조회 2,082
17년 전 조회 2,433
17년 전 조회 2,735
17년 전 조회 1,339
17년 전 조회 1,206
17년 전 조회 6,342
17년 전 조회 1,187
17년 전 조회 1,644
17년 전 조회 1,789
17년 전 조회 1,117
17년 전 조회 1,205
17년 전 조회 1,904
17년 전 조회 1,534
17년 전 조회 3,639
17년 전 조회 1,221
17년 전 조회 1,929
17년 전 조회 1,181
17년 전 조회 1,399
17년 전 조회 2,375
17년 전 조회 2,029
17년 전 조회 1,053
17년 전 조회 1,054
17년 전 조회 1,109
17년 전 조회 6,059
17년 전 조회 5,864
17년 전 조회 2,046
17년 전 조회 1,038
17년 전 조회 1,134
17년 전 조회 2,095
17년 전 조회 1,529
17년 전 조회 1,173
17년 전 조회 1,200
17년 전 조회 1,142
17년 전 조회 1,061
17년 전 조회 3,974
17년 전 조회 2,184
17년 전 조회 1,633
17년 전 조회 2,779
17년 전 조회 1,484
17년 전 조회 1,169
17년 전 조회 1,192
17년 전 조회 1,256
17년 전 조회 1,145
17년 전 조회 1,259
17년 전 조회 2,416
17년 전 조회 4,206
17년 전 조회 1,205
17년 전 조회 3,960
17년 전 조회 4,115
17년 전 조회 1,226
17년 전 조회 2,192
17년 전 조회 1,636