2026 년 4 월

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

 
그누스킨 그누소스 소스변경 소스문법 홈준비 기타
 
작성일 : 10-03-20 00:46
[기타] 부드럽게 슬라이딩 되면서 펼쳐지는 메뉴구성
 글쓴이 : Morning (211.♡.235.179)
조회 : 5,544  

<style type="text/css">
    .link {position:absolute;left:0;width:100%;height:0;background:efefef;overflow:hidden;visibility:hidden;}
    .title  {position:relative;cursor:pointer;width:100%;background:c0c0c0;font-family:tahoma;font-size:11px;left:2;height:15;overflow:hidden;}
    .title_o {position:relative;cursor:pointer;width:100%;background:c0c0c0;font-family:tahoma;font-size:11px;left:2;height:15;overflow:hidden;}
    .text {position:relative;text-align:justify;margin:10px;font-family:tahoma;font-size:11px;color:#000000;overflow:hidden;height:90%}

</style>

<script type="text/javascript">
<!--
var object = new Array();

function Slide(N,oCont){
    this.N  = N;
    this.S  = 1.1;
    this.object = new Array();

    this.CObj = function (parent,N){
   
        this.parent = parent;
        this.N = N;
        this.obj = parent.frm[N];
        this.tit = this.obj.firstChild;
        this.div = this.obj.getElementsByTagName("div")[1];
        this.div.style.visibility = "hidden";
        this.y0 = N * 18;
        this.Y1 = this.y0;
        this.obj.style.top = this.y0;
        this.obj.style.height = parent.H - (parent.NF-1) * 18 - 3;
        this.obj.style.visibility = "visible";
        this.obj.parent = this;
        this.run = false;
       
        this.move = function(){
            with(this){
                dy = (y1-y0)/parent.S;
                if(Math.abs(dy)>.1){
                    y0+=dy;
                    obj.style.top = Math.round(y0);
                    setTimeout("object["+parent.N+"].object["+N+"].move();", 16);
                } else {
                    run = false;
                    if(dy>0)div.style.visibility="hidden";
                    else if(N>0)parent.object[N-1].div.style.visibility="hidden";
                }
            }
        }
       
        this.obj.onmouseover = function(){
            with(this.parent){
                if(!run){
                    run = true;
                    div.style.visibility="visible";
                    for(i=0;i<parent.NF;i++)parent.object[i].tit.className = "title";
                    tit.className = "title_o";
                    for(i=0;i<=N;i++){
                        parent.object[i].y1 = i*18;
                        parent.object[i].move();
                    }
                    for(i=N+1;i<parent.NF;i++){
                        parent.object[i].y1 = parent.H-(parent.NF-i)*18;
                        parent.object[i].move();
                    }
                }
            }
        }
    }

    this.frm = document.getElementById(oCont);
    this.H = parseInt(this.frm.style.height);
    this.frm = this.frm.getElementsByTagName("span");
    this.NF = this.frm.length;
    for(i=0;i<this.NF;i++) this.object[i] = new this.CObj(this, i);
    this.object[0].obj.onmouseover();
    this.S = 10;
}

onload = function() {
    object[0] = new Slide(0, "frames");
}

//-->
</script>

<div id="frames" style="position:absolute;width:160;height:200;overflow:hidden">

    <span class="link"><div class="title">Main MENU 01</div>
        <div class="text">
        - SUB MENU 01<br>
        - SUB MENU 01<br>
        - SUB MENU 01<br>
        - SUB MENU 01<br>
        </div>
    </span>
    <span class="link"><div class="title">Main MENU 02</div>
        <div class="text">
        - SUB MENU 02<br>
        - SUB MENU 02<br>
        - SUB MENU 02<br>
        - SUB MENU 02<br>
        </div>
    </span>
    <span class="link"><div class="title">Main MENU 03</div>
        <div class="text">
        - SUB MENU 03<br>
        - SUB MENU 03<br>
        - SUB MENU 03<br>
        - SUB MENU 03<br>
        </div>
    </span>
    <span class="link"><div class="title">Main MENU 04</div>
        <div class="text">
        - SUB MENU 04<br>
        - SUB MENU 04<br>
        - SUB MENU 04<br>
        - SUB MENU 04<br>
        </div>
    </span>
    <span class="link"><div class="title">Main MENU 05</div>
        <div class="text">
        - SUB MENU 05<br>
        - SUB MENU 05<br>
        - SUB MENU 05<br>
        - SUB MENU 05<br>
        </div>
    </span>
    <span class="link"><div class="title">Main MENU 06</div>
        <div class="text">
        - SUB MENU 06<br>
        - SUB MENU 06<br>
        - SUB MENU 06<br>
        - SUB MENU 06<br>
        </div>
    </span>
    <span class="link"><div class="title">Main MENU 07</div>
        <div class="text">
        - SUB MENU 07<br>
        - SUB MENU 07<br>
        - SUB MENU 07<br>
        - SUB MENU 07<br>
        </div>
    </span>
</div>


주님과 함께 모닝커피를

 
 

Total 8
번호 제   목 글쓴이 날짜 조회
8 [기타] 그룹여분필드 (1) Morning 01-28 7044
7 [기타] CSS를 이용한 DIV 레이아웃 (2) Morning 04-22 11556
6 [기타] 관리자비번 잃어버렸을 때에 Morning 04-17 7026
5 [기타] 지워지지않는 디렉토리 지우기 (2) Morning 04-07 8442
4 [기타] 부드럽게 슬라이딩 되면서 펼쳐지는 메뉴구… Morning 03-20 5545
3 [기타] [메뉴] 플래쉬 같은 메뉴 Morning 03-20 5356
2 [기타] [메뉴] 서브메뉴가 있는 가로형 깔끔한 텍스… Morning 03-20 5608
1 [기타] [네비게이션] 제목 항목을 클릭하면 내용이 … Morning 03-20 5446

Therefore, holy brothers, who share in the heavenly calling,
fix your thoughts on Jesus, the apostle and high priest whom we confess.
Let us fix our eyes on Jesus, the author and perfecter of our faith,
who for the joy set before him endured the cross, scorning its shame,
and sat down at the right hand of the throne of God