½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > ¸Þ´º °ü·Ã > Ç÷¡½Ã °°Àº ¸Þ´º¹Ù »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
css
html
mysql
jquery
image
API
Mobile
¸Þ´º
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
Ç÷¡½Ã °°Àº ¸Þ´º¹Ù
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù ¸Þ´º °ü·Ã
´Ù¿î·Îµå Ƚ¼ö 2017 ȸ
°£´Ü¼³¸í ±×³É ºÃÀ»¶© ´Ü¼øÇÑ ÅؽºÆ® ¸Þ´º¹ÙÀÌÁö¸¸ Ŭ¸¯ÇÏ¿© º¸½Ã¸é ¸Þ´º¹öÆ°µéÀÌ Ç÷¡½Ã¹«ºñó·³ ºÎµå·´°Ô ¹«ºùµÇ¾î ¹öÆ°À» ÇÑ°á ±ò²ûÇÏ°Ô ¸¸µé¾îÁÝ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ

µ¥¸ð¸¦ ¹ÝµíÀÌ È®ÀÎÇÏ¼Å¾ß ÇÕ´Ï´Ù.

¾Æ·¡ÀÚ¹Ù½ºÅ©¸³Æ®´Â ¸Þ´º¹ÙÀÇ ¼³°èµµ°°Àº°Ì´Ï´Ù. °¢°¢ ÁÖ¸¦ ´Þ¾Æ³ùÀ¸´Ï È®ÀÎÇÏ½Ã°í ¾²½Ã¸é µË´Ï´Ù.



<html>
<head>
  <title>ÇØÇÇCGI</title>
</head>
<script>

var delay = 3;            // ¸Þ´º ½ºÇǵå(³·À»¼ö·Ï ºü¸§)
var m_length = 20;    // ¸Þ´º °£°Ý
var sel_l_length = 30;    // ¼±ÅÃÇÑ ¸Þ´º¿Í ÀÌÀü ¸Þ´º °£°Ý
var sel_r_length = 60;    // ¼±ÅÃÇÑ ¸Þ´º¿Í ´ÙÀ½ ¸Þ´º °£°Ý


var m_sel = 0;            // ¸Þ´º ¼±Åà »óÅÂ
var m_max = 0;        // ¸ÞÀθ޴º °¹¼ö
var sm_alpha = 0;    // ¼­ºê¸Þ´º Åõ¸íµµ
var id = new Array();    // ¸ÞÀθ޴º ID
var sid = new Array();    // ¼­ºê¸Þ´º ID
var m_top = 0;                // ¸ÞÀθ޴º y À§Ä¡
function on_load(){
    while(document.getElementById("menu"+(m_max+1)) != null){
        m_max++;
        id[m_max] = document.getElementById("menu"+m_max);
        sid[m_max] = document.getElementById("smenu"+m_max);
    };
    m_top = id[1].offsetTop;
    m_act();
}
function m_over(m){
    m_sel = m;
    for(i=1;i<=m_max;i++){
        if(sid[i] != null){
            if(m_sel == i){
                id[i].style.fontWeight = 'bold';
                sid[i].style.display = "";
                sm_alpha = 0;
                if ((navigator.appName.indexOf('Microsoft')+1)) {
                    sid[i].filters.alpha.opacity = sm_alpha;
                }else{
                    sid[i].style.opacity = (sm_alpha/100);
                }
                sid[i].style.top = id[i].offsetTop + id[i].offsetHeight + 40;
            }else{
                id[i].style.fontWeight = '';
                sid[i].style.display = "none";
            }
        }
    }
}
function m_act(){
    var goy = 0;
    for(i=1;i<=m_max;i++){

        // ¸ÞÀθ޴º Á¿ì À̵¿
        if(i>1)
            temp = id[i-1].offsetWidth + id[i-1].offsetLeft;
        if(i==1){
            gox=id[i].offsetLeft;
        }else if(m_sel == i){
            gox =  temp + sel_l_length;
        }else if(m_sel+1 == i){
            gox =temp + sel_r_length;
        }else{
            gox = temp + m_length;
        }
        id[i].style.left = Math.ceil(id[i].offsetLeft - (id[i].offsetLeft - (gox))/delay)+"px";

        // ¸ÞÀθ޴º »óÇÏ À̵¿
        if(m_sel == i){
            id[i].style.top = Math.ceil(id[i].offsetTop - (id[i].offsetTop - (m_top + 7))/delay)+"px";
        }else if(m_sel!=0){
            id[i].style.top = Math.ceil(id[i].offsetTop - (id[i].offsetTop - (m_top - 5))/delay)+"px";
        }

        // ¼­ºê¸Þ´º
        if(m_sel == i && sid[i] != null){
            // ¼­ºê¸Þ´º Åõ¸íµµ
            if(sm_alpha < 100){
                sm_alpha += 5;
                if ((navigator.appName.indexOf('Microsoft')+1)) {
                    sid[i].filters.alpha.opacity = sm_alpha;
                }else{
                    sid[i].style.opacity = (sm_alpha/100);
                }
            }
            // ¼­ºê¸Þ´º ¾Æ·¡¼­ºÎÅÍ À§·Î ³ªÅ¸³²
            goy = id[i].offsetTop + id[i].offsetHeight;
            sid[i].style.top = (sid[i].offsetTop - (sid[i].offsetTop - goy)/delay)+"px";
        }
    }
    setTimeout('m_act()',20);
}

</script>
<style>
.sm_a{color: #666666; text-decoration:none; padding:0px 3px 0px 2px}
.sm_a:hover {color: #FFFFFF; text-decoration:none; background:#666666; padding:0px 3px 0px 2px}
.smenu{top:50px; position:absolute; filter:alpha(opacity=0); color:#DDDDDD}
.mmenu{top:30px; position:absolute; cursor:pointer; padding-right:2px; color:#666666}
</style>
<body onload='on_load()'>
°¢°¢ÀÇ ´ë ¸Þ´º¸¦ Ŭ¸¯Çغ¸¼¼¿ä..
<table width=100% style=position:relative><td>
    <div class=mmenu style='left:200px;' id=menu1 onClick='m_over(1)'>
    ABOUT US<br>
    </div>
    <div id='smenu1' class=smenu style='left:200px; display:none'><a href='' class=sm_a>menu1</a> | <a href='' class=sm_a>menu2</a> | <a href='' class=sm_a>menu3</a></div>
    <div class=mmenu style='left:280px;' id=menu2 onClick='m_over(2)'>
    PRODUCT<br>
    </div>
    <div id='smenu2' class=smenu style='left:250px; display:none'><a href='' class=sm_a>menu4</a> | <a href='' class=sm_a>menu5</a> | <a href='' class=sm_a>menu6</a></div>
    <div class=mmenu style='left:360px;' id=menu3 onClick='m_over(3)'>
    STORY<br>
    </div>
    <div id='smenu3' class=smenu style='left:310px; display:none'><a href='' class=sm_a>menu7</a> | <a href='' class=sm_a>menu8</a> | <a href='' class=sm_a>menu9</a></div>
</td></table>

</body>
</html>


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
±×·±µ¥ ÀÌ°Å Å×À̺í size Á¶Á¤À» ¸ø ÇÏ´øµ¥¿ä ÇØÇÇ¿¡¼­ ÀÌ°Å ¼Ò½º¸¦ Àâ°í °è¼Å¼­ ±×·±°Ç°¡¿ä?
2009-11-30 22:00:00
lkjstorm
Âù¼º 71
¹Ý´ë 65
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 62185556 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.