s

소스 <퀵메뉴>

· 17년 전 · 2585
따라다니는 메뉴입니다.
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,379
17년 전 조회 4,476
17년 전 조회 1,702
17년 전 조회 2,170
17년 전 조회 7,285
17년 전 조회 1,537
17년 전 조회 2,074
17년 전 조회 3,324
17년 전 조회 1,375
17년 전 조회 2,157
17년 전 조회 1,308
17년 전 조회 2,022
17년 전 조회 2,344
17년 전 조회 3,157
17년 전 조회 1,420
17년 전 조회 1,483
17년 전 조회 1,732
17년 전 조회 1,403
17년 전 조회 4,538
17년 전 조회 4,082
17년 전 조회 2,968
17년 전 조회 1,755
17년 전 조회 1,488
17년 전 조회 1,783
17년 전 조회 2,715
17년 전 조회 1,908
17년 전 조회 2,181
17년 전 조회 1,469
17년 전 조회 1,212
17년 전 조회 1,286
17년 전 조회 3,099
17년 전 조회 2,643
17년 전 조회 2,209
17년 전 조회 2,228
17년 전 조회 1,967
17년 전 조회 2,407
17년 전 조회 2,187
17년 전 조회 2,142
17년 전 조회 2,035
17년 전 조회 1,357
17년 전 조회 1,989
17년 전 조회 2,398
17년 전 조회 2,479
17년 전 조회 1,802
17년 전 조회 1,665
17년 전 조회 1,525
17년 전 조회 2,748
17년 전 조회 2,835
17년 전 조회 2,237
17년 전 조회 2,586
17년 전 조회 2,888
17년 전 조회 1,486
17년 전 조회 1,346
17년 전 조회 6,505
17년 전 조회 1,343
17년 전 조회 1,804
17년 전 조회 1,946
17년 전 조회 1,262
17년 전 조회 1,337
17년 전 조회 2,046
17년 전 조회 1,687
17년 전 조회 3,800
17년 전 조회 1,373
17년 전 조회 2,085
17년 전 조회 1,328
17년 전 조회 1,569
17년 전 조회 2,551
17년 전 조회 2,195
17년 전 조회 1,184
17년 전 조회 1,209
17년 전 조회 1,270
17년 전 조회 6,217
17년 전 조회 6,027
17년 전 조회 2,211
17년 전 조회 1,178
17년 전 조회 1,293
17년 전 조회 2,261
17년 전 조회 1,661
17년 전 조회 1,319
17년 전 조회 1,343
17년 전 조회 1,287
17년 전 조회 1,222
17년 전 조회 4,136
17년 전 조회 2,350
17년 전 조회 1,795
17년 전 조회 2,938
17년 전 조회 1,626
17년 전 조회 1,315
17년 전 조회 1,343
17년 전 조회 1,397
17년 전 조회 1,287
17년 전 조회 1,393
17년 전 조회 2,576
17년 전 조회 4,377
17년 전 조회 1,345
17년 전 조회 4,111
17년 전 조회 4,262
17년 전 조회 1,373
17년 전 조회 2,342
17년 전 조회 1,789