s

소스 <퀵메뉴>

· 17년 전 · 2591
따라다니는 메뉴입니다.
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,384
17년 전 조회 4,484
17년 전 조회 1,706
17년 전 조회 2,177
17년 전 조회 7,290
17년 전 조회 1,550
17년 전 조회 2,078
17년 전 조회 3,335
17년 전 조회 1,385
17년 전 조회 2,162
17년 전 조회 1,315
17년 전 조회 2,028
17년 전 조회 2,348
17년 전 조회 3,162
17년 전 조회 1,425
17년 전 조회 1,490
17년 전 조회 1,740
17년 전 조회 1,409
17년 전 조회 4,543
17년 전 조회 4,083
17년 전 조회 2,978
17년 전 조회 1,761
17년 전 조회 1,498
17년 전 조회 1,793
17년 전 조회 2,722
17년 전 조회 1,914
17년 전 조회 2,186
17년 전 조회 1,472
17년 전 조회 1,222
17년 전 조회 1,291
17년 전 조회 3,102
17년 전 조회 2,649
17년 전 조회 2,213
17년 전 조회 2,230
17년 전 조회 1,970
17년 전 조회 2,413
17년 전 조회 2,193
17년 전 조회 2,147
17년 전 조회 2,043
17년 전 조회 1,364
17년 전 조회 1,998
17년 전 조회 2,407
17년 전 조회 2,485
17년 전 조회 1,807
17년 전 조회 1,673
17년 전 조회 1,530
17년 전 조회 2,755
17년 전 조회 2,838
17년 전 조회 2,244
17년 전 조회 2,592
17년 전 조회 2,892
17년 전 조회 1,491
17년 전 조회 1,350
17년 전 조회 6,509
17년 전 조회 1,352
17년 전 조회 1,806
17년 전 조회 1,954
17년 전 조회 1,265
17년 전 조회 1,341
17년 전 조회 2,050
17년 전 조회 1,692
17년 전 조회 3,807
17년 전 조회 1,377
17년 전 조회 2,093
17년 전 조회 1,334
17년 전 조회 1,575
17년 전 조회 2,558
17년 전 조회 2,201
17년 전 조회 1,188
17년 전 조회 1,217
17년 전 조회 1,275
17년 전 조회 6,222
17년 전 조회 6,036
17년 전 조회 2,216
17년 전 조회 1,186
17년 전 조회 1,299
17년 전 조회 2,269
17년 전 조회 1,665
17년 전 조회 1,328
17년 전 조회 1,350
17년 전 조회 1,293
17년 전 조회 1,226
17년 전 조회 4,142
17년 전 조회 2,356
17년 전 조회 1,802
17년 전 조회 2,944
17년 전 조회 1,635
17년 전 조회 1,319
17년 전 조회 1,347
17년 전 조회 1,405
17년 전 조회 1,296
17년 전 조회 1,399
17년 전 조회 2,583
17년 전 조회 4,382
17년 전 조회 1,349
17년 전 조회 4,115
17년 전 조회 4,271
17년 전 조회 1,375
17년 전 조회 2,352
17년 전 조회 1,797