s

소스 <퀵메뉴>

· 17년 전 · 2456
따라다니는 메뉴입니다.
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,267
17년 전 조회 4,347
17년 전 조회 1,548
17년 전 조회 2,049
17년 전 조회 7,132
17년 전 조회 1,424
17년 전 조회 1,938
17년 전 조회 3,168
17년 전 조회 1,259
17년 전 조회 2,030
17년 전 조회 1,193
17년 전 조회 1,889
17년 전 조회 2,193
17년 전 조회 3,014
17년 전 조회 1,282
17년 전 조회 1,373
17년 전 조회 1,597
17년 전 조회 1,264
17년 전 조회 4,397
17년 전 조회 3,942
17년 전 조회 2,834
17년 전 조회 1,626
17년 전 조회 1,370
17년 전 조회 1,646
17년 전 조회 2,561
17년 전 조회 1,767
17년 전 조회 2,064
17년 전 조회 1,346
17년 전 조회 1,081
17년 전 조회 1,164
17년 전 조회 2,964
17년 전 조회 2,504
17년 전 조회 2,084
17년 전 조회 2,089
17년 전 조회 1,834
17년 전 조회 2,287
17년 전 조회 2,059
17년 전 조회 2,022
17년 전 조회 1,914
17년 전 조회 1,241
17년 전 조회 1,859
17년 전 조회 2,262
17년 전 조회 2,351
17년 전 조회 1,685
17년 전 조회 1,542
17년 전 조회 1,399
17년 전 조회 2,612
17년 전 조회 2,710
17년 전 조회 2,106
17년 전 조회 2,457
17년 전 조회 2,760
17년 전 조회 1,353
17년 전 조회 1,220
17년 전 조회 6,367
17년 전 조회 1,212
17년 전 조회 1,668
17년 전 조회 1,809
17년 전 조회 1,136
17년 전 조회 1,227
17년 전 조회 1,926
17년 전 조회 1,555
17년 전 조회 3,656
17년 전 조회 1,243
17년 전 조회 1,947
17년 전 조회 1,204
17년 전 조회 1,425
17년 전 조회 2,396
17년 전 조회 2,057
17년 전 조회 1,071
17년 전 조회 1,077
17년 전 조회 1,132
17년 전 조회 6,083
17년 전 조회 5,887
17년 전 조회 2,078
17년 전 조회 1,054
17년 전 조회 1,161
17년 전 조회 2,117
17년 전 조회 1,549
17년 전 조회 1,193
17년 전 조회 1,220
17년 전 조회 1,158
17년 전 조회 1,086
17년 전 조회 3,994
17년 전 조회 2,204
17년 전 조회 1,653
17년 전 조회 2,801
17년 전 조회 1,500
17년 전 조회 1,189
17년 전 조회 1,215
17년 전 조회 1,274
17년 전 조회 1,162
17년 전 조회 1,273
17년 전 조회 2,437
17년 전 조회 4,227
17년 전 조회 1,232
17년 전 조회 3,977
17년 전 조회 4,132
17년 전 조회 1,245
17년 전 조회 2,210
17년 전 조회 1,654