s

소스 <퀵메뉴>

· 17년 전 · 2434
따라다니는 메뉴입니다.
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,327
17년 전 조회 1,522
17년 전 조회 2,024
17년 전 조회 7,110
17년 전 조회 1,403
17년 전 조회 1,916
17년 전 조회 3,146
17년 전 조회 1,242
17년 전 조회 2,006
17년 전 조회 1,173
17년 전 조회 1,875
17년 전 조회 2,174
17년 전 조회 2,986
17년 전 조회 1,257
17년 전 조회 1,351
17년 전 조회 1,577
17년 전 조회 1,238
17년 전 조회 4,375
17년 전 조회 3,918
17년 전 조회 2,810
17년 전 조회 1,608
17년 전 조회 1,354
17년 전 조회 1,625
17년 전 조회 2,538
17년 전 조회 1,754
17년 전 조회 2,038
17년 전 조회 1,329
17년 전 조회 1,062
17년 전 조회 1,140
17년 전 조회 2,943
17년 전 조회 2,481
17년 전 조회 2,060
17년 전 조회 2,064
17년 전 조회 1,812
17년 전 조회 2,265
17년 전 조회 2,035
17년 전 조회 2,006
17년 전 조회 1,893
17년 전 조회 1,228
17년 전 조회 1,847
17년 전 조회 2,246
17년 전 조회 2,322
17년 전 조회 1,661
17년 전 조회 1,525
17년 전 조회 1,378
17년 전 조회 2,595
17년 전 조회 2,690
17년 전 조회 2,085
17년 전 조회 2,435
17년 전 조회 2,736
17년 전 조회 1,341
17년 전 조회 1,208
17년 전 조회 6,346
17년 전 조회 1,188
17년 전 조회 1,646
17년 전 조회 1,790
17년 전 조회 1,121
17년 전 조회 1,208
17년 전 조회 1,907
17년 전 조회 1,536
17년 전 조회 3,641
17년 전 조회 1,222
17년 전 조회 1,931
17년 전 조회 1,183
17년 전 조회 1,401
17년 전 조회 2,377
17년 전 조회 2,032
17년 전 조회 1,054
17년 전 조회 1,056
17년 전 조회 1,112
17년 전 조회 6,063
17년 전 조회 5,868
17년 전 조회 2,049
17년 전 조회 1,039
17년 전 조회 1,137
17년 전 조회 2,098
17년 전 조회 1,530
17년 전 조회 1,175
17년 전 조회 1,202
17년 전 조회 1,144
17년 전 조회 1,064
17년 전 조회 3,976
17년 전 조회 2,188
17년 전 조회 1,636
17년 전 조회 2,781
17년 전 조회 1,484
17년 전 조회 1,171
17년 전 조회 1,194
17년 전 조회 1,257
17년 전 조회 1,146
17년 전 조회 1,261
17년 전 조회 2,418
17년 전 조회 4,211
17년 전 조회 1,207
17년 전 조회 3,961
17년 전 조회 4,117
17년 전 조회 1,229
17년 전 조회 2,194
17년 전 조회 1,637