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

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

<style type="text/css">
.seqslidestyle{
margin-right: 10px;
}
</style>
</head>
<body>
<script type="text/javascript">
var seqslides=new Array()

//ù¹ø°: À̹ÌÁö°æ·Î, //µÎ¹ø°: ¸µÅ©ÁÖ¼Ò, //¼¼¹ø°: À̹ÌÁö¼³¸í
    seqslides[0]=["img/thumb/thumb01.jpg", "http://www.happycgi.com", "Á¦ÁÖµµ ¿©ÇàÀÇ È¯»ó"]
    seqslides[1]=["img/thumb/thumb02.jpg", "http://www.happycgi.com", "ÆÇŸÁö¾Æ Á¦ÁÖ"]
    seqslides[2]=["img/thumb/thumb03.jpg", "http://www.happycgi.com", "²ÞÀÇ ¼¶ Á¦ÁÖ"]
    seqslides[3]=["img/thumb/thumb04.jpg", "http://www.happycgi.com", "Á¦ÁÖ ¿ùµåÄÅ"]
    seqslides[4]=["img/thumb/thumb05.jpg", "http://www.happycgi.com", "ÈľÆÀ¯"]
    seqslides[5]=["img/thumb/thumb06.jpg", "http://www.happycgi.com", "¸¶À̳×ÀÓ ÇØÇÇ"]
    seqslides[6]=["img/thumb/thumb07.jpg", "http://www.happycgi.com", "ºê·¹µåǪµå"]
    seqslides[7]=["img/thumb/thumb08.jpg", "http://www.happycgi.com", "ÇÁ·¹½¬¸Ç"]
    seqslides[8]=["img/thumb/thumb09.jpg", "http://www.happycgi.com", "°¡·çÁö±â"]
    seqslides[9]=["img/thumb/thumb10.jpg", "http://www.happycgi.com", "³ÄÇÏÇÏÇÏ!"]

var slidedelay=1000  //µô·¹ÀÌ 1000=1ÃÊ
var slidestoreveal=4  //¸ñ·Ï °¹¼ö
var slideseparater="<br>"  //ÁÙ°£ ű×
var optlinktarget="secwindow"
var imgborderwidth=0

var opacityvalues=[0.2,1]

function processimgcode(theimg){
var imghtml=""
if (theimg[1]!="")
imghtml='<a href="'+theimg[1]+'" target="'+optlinktarget+'">'
imghtml+='<img src="'+theimg[0]+'" border="'+imgborderwidth+'" style="border:1 solid red; filter:alpha(opacity='+(opacityvalues[0]*100)+');-moz-opacity:'+opacityvalues[0]+'" title="' + theimg[2] + '">'
if (theimg[1]!="")
imghtml+='</a>'
return imghtml
}

var curslide=1 //var to track current slide (total: slidestoreveal)
var curimgindex=0 //var to track current image (total: seqslides.length)
var isfirstcycle=1 //boolean to indicate whether this is the first cycle

if (document.getElementById){
for (i=0;i<slidestoreveal;i++)
    document.write('<span id="seqslide'+i+'" class="seqslidestyle">'+processimgcode(seqslides[i])+'</span>'+slideseparater)
    curimgindex=slidestoreveal
    illuminateslide(0,opacityvalues[1])
}

function illuminateslide(slideindex, amt){
var slideobj=document.getElementById("seqslide"+slideindex).getElementsByTagName("IMG")[0]
    if (slideobj.filters)
        slideobj.filters.alpha.opacity=amt*100
    else if (slideobj.style.MozOpacity)
        slideobj.style.MozOpacity=amt
}

function displayit(){
    if (curslide<slidestoreveal){
        if (!isfirstcycle)
            changeimage(curslide)
            illuminateslide(curslide, opacityvalues[1])
            curslide++
        }
    else{
        isfirstcycle=0
    for (i=0;i<slidestoreveal;i++)
        illuminateslide(i, opacityvalues[0])
        changeimage(0)
        illuminateslide(0, opacityvalues[1])
        curslide=1
    }
}

function changeimage(slideindex){
    document.getElementById("seqslide"+slideindex).innerHTML=processimgcode(seqslides[curimgindex])
    curimgindex++
    if (curimgindex>=seqslides.length)
    curimgindex=0
}

if (document.getElementById)
    setInterval("displayit()",slidedelay)
</script>
</body>
</html>


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