s

소스 <퀵메뉴>

· 17년 전 · 2514
따라다니는 메뉴입니다.
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,311
17년 전 조회 4,404
17년 전 조회 1,620
17년 전 조회 2,104
17년 전 조회 7,192
17년 전 조회 1,474
17년 전 조회 1,997
17년 전 조회 3,228
17년 전 조회 1,314
17년 전 조회 2,084
17년 전 조회 1,234
17년 전 조회 1,945
17년 전 조회 2,260
17년 전 조회 3,076
17년 전 조회 1,345
17년 전 조회 1,417
17년 전 조회 1,654
17년 전 조회 1,330
17년 전 조회 4,459
17년 전 조회 3,999
17년 전 조회 2,886
17년 전 조회 1,688
17년 전 조회 1,429
17년 전 조회 1,699
17년 전 조회 2,628
17년 전 조회 1,836
17년 전 조회 2,117
17년 전 조회 1,393
17년 전 조회 1,138
17년 전 조회 1,213
17년 전 조회 3,025
17년 전 조회 2,559
17년 전 조회 2,139
17년 전 조회 2,148
17년 전 조회 1,891
17년 전 조회 2,339
17년 전 조회 2,114
17년 전 조회 2,077
17년 전 조회 1,967
17년 전 조회 1,294
17년 전 조회 1,911
17년 전 조회 2,328
17년 전 조회 2,410
17년 전 조회 1,740
17년 전 조회 1,594
17년 전 조회 1,461
17년 전 조회 2,673
17년 전 조회 2,770
17년 전 조회 2,162
17년 전 조회 2,515
17년 전 조회 2,820
17년 전 조회 1,416
17년 전 조회 1,274
17년 전 조회 6,431
17년 전 조회 1,272
17년 전 조회 1,722
17년 전 조회 1,871
17년 전 조회 1,188
17년 전 조회 1,279
17년 전 조회 1,982
17년 전 조회 1,615
17년 전 조회 3,733
17년 전 조회 1,303
17년 전 조회 2,014
17년 전 조회 1,257
17년 전 조회 1,497
17년 전 조회 2,464
17년 전 조회 2,113
17년 전 조회 1,124
17년 전 조회 1,135
17년 전 조회 1,201
17년 전 조회 6,141
17년 전 조회 5,944
17년 전 조회 2,134
17년 전 조회 1,112
17년 전 조회 1,220
17년 전 조회 2,177
17년 전 조회 1,594
17년 전 조회 1,251
17년 전 조회 1,278
17년 전 조회 1,205
17년 전 조회 1,148
17년 전 조회 4,058
17년 전 조회 2,268
17년 전 조회 1,718
17년 전 조회 2,862
17년 전 조회 1,554
17년 전 조회 1,238
17년 전 조회 1,266
17년 전 조회 1,333
17년 전 조회 1,219
17년 전 조회 1,326
17년 전 조회 2,503
17년 전 조회 4,295
17년 전 조회 1,280
17년 전 조회 4,039
17년 전 조회 4,189
17년 전 조회 1,303
17년 전 조회 2,270
17년 전 조회 1,709