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

1. ¿ÞÂʺ®¿¡¼­ ³ªÅ¸³ª°Ô ÇÒ·Á¸é
    var panelPosition = 1;  °ªÀ» 0À¸·Î º¯°æÇϼ¼¿ä.
 
2. º»¹® ³»¿ëÀ» ¹Ð¸é¼­ ³ªÅ¸³ª°Ô ÇÒ·Á¸é
   var pushMainContentOnSlide = false;   //true·Î º¯°æÇϼ¼¿ä.

¾Æ·¡´Â º» ¿¹Á¦ÀÇ ÀÚ¹Ù½ºÅ©¸³Æ® ¿ø¹®ÀÔ´Ï´Ù.

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

<style type="text/css">
#dhtmlgoodies_leftPanel{    /* Styling the help panel */
   
    background-color:#3c94c8;    /* Blue background color */
    color:#FFF;    /* White text color */
    font-family: verdana;    /* Which font to use */
   
    /* You shouldn't change these 5 options unless you need to */       
    height:100%;   
    left:0px;
    z-index:10;
    position:absolute;
    display:none;
    overflow:hidden;
}

#dhtmlgoodies_leftPanel #leftPanelContent{
    padding:0px;
}
#dhtmlgoodies_leftPanel .closeLink{ /* Layout of close link */
    padding-left:2px;
    padding-right:2px;
    background-color:#FFF;
    position:absolute;
    top:2px;
    right:2px;
    border:1px solid #000;
    color:#000;
    font-size:0.8em;               
}
#dhtmlgoodies_leftPanel .closeLink:hover{    /* Close link text  - mouseover effect*/
    color:#FFF;
    background-color:#000;
}   
</style>
<script type="text/javascript">

/************************************************************************************************************
(C) www.dhtmlgoodies.com, October 2005

Version 1.2: Updated, November 12th. 2005

This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.   

Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.

Thank you!

www.dhtmlgoodies.com
Alf Magne Kalleland

************************************************************************************************************/       
var panelWidth = 150;    // Width of help panel   
var slideSpeed = 15;        // Higher = quicker slide
var slideTimer = 10;    // Lower = quicker slide
var slideActive = true;    // Slide active ?
var initBodyMargin = 0;    // Left or top margin of your <body> tag (left if panel is at the left, top if panel is on the top)
var pushMainContentOnSlide = false;    // Push your main content to the right when sliding
var panelPosition = 1;     // 0 = left , 1 = top

/*    Don't change these values */
var slideLeftPanelObj=false;
var slideInProgress = false;   
var startScrollPos = false;
var panelVisible = false;
function initSlideLeftPanel(expandOnly)
{
    if(slideInProgress)return;
    if(!slideLeftPanelObj){
        if(document.getElementById('dhtmlgoodies_leftPanel')){    // Object exists in HTML code?
            slideLeftPanelObj = document.getElementById('dhtmlgoodies_leftPanel');
            if(panelPosition == 1)slideLeftPanelObj.style.width = '100%';
        }else{    // Object doesn't exist -> Create <div> dynamically
            slideLeftPanelObj = document.createElement('DIV');
            slideLeftPanelObj.id = 'dhtmlgoodies_leftPanel';
            slideLeftPanelObj.style.display='none';
            document.body.appendChild(slideLeftPanelObj);
        }
       
        if(panelPosition == 1){
            slideLeftPanelObj.style.top = "-" + panelWidth + 'px';
            slideLeftPanelObj.style.left = '0px';   
            slideLeftPanelObj.style.height = panelWidth + 'px';           
        }else{
            slideLeftPanelObj.style.left = "-" + panelWidth + 'px';
            slideLeftPanelObj.style.top = '0px';
            slideLeftPanelObj.style.width = panelWidth + 'px';
        }
       

        if(!document.all || navigator.userAgent.indexOf('Opera')>=0)slideLeftPanelObj.style.position = 'fixed';;
    }   
   
    if(panelPosition == 0){
        if(document.documentElement.clientHeight){
            slideLeftPanelObj.style.height = document.documentElement.clientHeight + 'px';
        }else if(document.body.clientHeight){
            slideLeftPanelObj.style.height = document.body.clientHeight + 'px';
        }
        var leftPos = slideLeftPanelObj.style.left.replace(/[^0-9\-]/g,'')/1;
    }else{
        if(document.documentElement.clientWidth){
            slideLeftPanelObj.style.width = document.documentElement.clientWidth + 'px';
        }else if(document.body.clientHeight){
            slideLeftPanelObj.style.width = document.body.clientWidth + 'px';
        }
        var leftPos = slideLeftPanelObj.style.top.replace(/[^0-9\-]/g,'')/1;           
       
       
    }
    slideLeftPanelObj.style.display='block';
   
    if(panelPosition==1)
        startScrollPos = Math.max(document.body.scrollTop,document.documentElement.scrollTop);
    else
        startScrollPos = Math.max(document.body.scrollLeft,document.documentElement.scrollLeft);
    if(leftPos<(0+startScrollPos)){
        if(slideActive){
            slideLeftPanel(slideSpeed);   
       
        }else{
            document.body.style.marginLeft = panelWidth + 'px';
            slideLeftPanelObj.style.left = '0px';
        }
    }else{
        if(expandOnly)return;
        if(slideActive){       
            slideLeftPanel(slideSpeed*-1);
        }else{
            if(panelPosition == 0){
                if(pushMainContentOnSlide)document.body.style.marginLeft =  initBodyMargin + 'px';
                slideLeftPanelObj.style.left = (panelWidth*-1) + 'px';   
            }else{
                if(pushMainContentOnSlide)document.body.style.marginTop =  initBodyMargin + 'px';
                slideLeftPanelObj.style.top = (panelWidth*-1) + 'px';                       
            }           
        }
    }   
   
    if(navigator.userAgent.indexOf('MSIE')>=0 && navigator.userAgent.indexOf('Opera')<0){
        window.onscroll = repositionHelpDiv;
   
        repositionHelpDiv();
    }
    window.onresize = resizeLeftPanel;
   
}

function resizeLeftPanel()
{
    if(panelPosition == 0){
        if(document.documentElement.clientHeight){
            slideLeftPanelObj.style.height = document.documentElement.clientHeight + 'px';
        }else if(document.body.clientHeight){
            slideLeftPanelObj.style.height = document.body.clientHeight + 'px';
        }       
    }else{
        if(document.documentElement.clientWidth){
            slideLeftPanelObj.style.width = document.documentElement.clientWidth + 'px';
        }else if(document.body.clientWidth){
            slideLeftPanelObj.style.width = document.body.clientWidth + 'px';
        }   
    }
}

function slideLeftPanel(slideSpeed){
    slideInProgress =true;
    var scrollValue = 0;
    if(panelPosition==1)
        var leftPos = slideLeftPanelObj.style.top.replace(/[^0-9\-]/g,'')/1;
    else
        var leftPos = slideLeftPanelObj.style.left.replace(/[^0-9\-]/g,'')/1;
       
    leftPos+=slideSpeed;
    okToSlide = true;
    if(slideSpeed<0){
        if(leftPos < ((panelWidth*-1) + startScrollPos)){
            leftPos = (panelWidth*-1) + startScrollPos;   
            okToSlide=false;
        }
    }
    if(slideSpeed>0){
        if(leftPos > (0 + startScrollPos)){
            leftPos = 0 + startScrollPos;
            okToSlide = false;
        }           
    }
   
   
    if(panelPosition==0){
        slideLeftPanelObj.style.left = leftPos + startScrollPos + 'px';
        if(pushMainContentOnSlide)document.body.style.marginLeft = leftPos - startScrollPos + panelWidth + 'px';
    }else{
        slideLeftPanelObj.style.top = leftPos + 'px';
        if(pushMainContentOnSlide)document.body.style.marginTop = leftPos - startScrollPos + panelWidth + 'px';           
       
    }
    if(okToSlide)setTimeout('slideLeftPanel(' + slideSpeed + ')',slideTimer); else {
        slideInProgress = false;
        if(slideSpeed>0)panelVisible=true; else panelVisible = false;
    }
   
}


function repositionHelpDiv()
{
    if(panelPosition==0){
        var maxValue = Math.max(document.body.scrollTop,document.documentElement.scrollTop);
        slideLeftPanelObj.style.top = maxValue;
    }else{
        var maxValue = Math.max(document.body.scrollLeft,document.documentElement.scrollLeft);
        slideLeftPanelObj.style.left = maxValue;   
        var maxTop = Math.max(document.body.scrollTop,document.documentElement.scrollTop);
        if(!slideInProgress)slideLeftPanelObj.style.top = (maxTop - (panelVisible?0:panelWidth)) + 'px';        
    }
}

function cancelEvent()
{
    return false;
}
function keyboardShowLeftPanel()
{
        initSlideLeftPanel();
        return false;   

}

function leftPanelKeyboardEvent(e)
{
    if(document.all)return;
   
    if(e.keyCode==112){
        initSlideLeftPanel();
        return false;
    }       
}

function setLeftPanelContent(text)
{
    document.getElementById('leftPanelContent').innerHTML = text;
    initSlideLeftPanel(true);
   
}
if(!document.all)document.documentElement.onkeypress = leftPanelKeyboardEvent;
document.documentElement.onhelp  = keyboardShowLeftPanel;

</script>
</head>
<body>

<div id="dhtmlgoodies_leftPanel">
    <a class="closeLink" href="#" onclick="initSlideLeftPanel();return false">Close</a>
    <div id="leftPanelContent">
        ¿©±â¿¡ µµ¿ò¸» ¶Ç´Â ±âŸ ´Ù¸¥ ³»¿ëµéÀ» ÀÛ¼ºÇϼ¼¿ä..
    </div>
</div>

 

<a href="#" onclick="initSlideLeftPanel();return false">¿©±âŬ¸¯</a> ¶Ç´Â <FONT COLOR="RED"><B>F1</B></FONT>Å°¸¦ ´©¸£¼¼¿ä.
</div>

</body>
</html>


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