ÁöÁ¤µÈ °¹¼öÀÇ À̹ÌÁö°¡ ¼ø¼¸¦ ¹Ù²Ù¸é¼ ÆäÀ̵ùµÇ¸ç ³ªÅ¸³³´Ï´Ù
<html> <head> <title> À̹ÌÁö ·ÎÅ×À̼ÇÈ¿°ú</title>
<!-- [1´Ü°è] ¾Æ·¡ÀÇ Äڵ带 <head> ¿Í </head> »çÀÌ¿¡ ºÙ¿© ³ÖÀ¸¼¼¿ä -->
<style type="text/css">
/*°¢ À̹ÌÁöµéÀ» µÑ·¯½Î°íÀÖ´Â span ű×ÀÇ ½ºÅ¸ÀÏÀ» Á¤ÀÇÇÕ´Ï´Ù*/ .seqslidestyle{ margin-right: 15px; } </style>
<!----------------- ¿©±â±îÁö ----------------->
</head>
<body>
<!-- [2´Ü°è] ¾Æ·¡ÀÇ Äڵ带 <body> ¿Í </body> ÅÂ±× »çÀÌ¿¡ ºÙ¿© ³ÖÀ¸¼¼¿ä -->
<script type="text/javascript">
var seqslides=new Array() // ¾Æ·¡ÀÇ ¹æ¹ýÀ¸·Î À̹ÌÁö°æ·Î¿Í ¸µÅ© URL À» ÁöÁ¤ ÇØ ÁÖ¼¼¿ä seqslides[0]=["images/001.gif", "http://www.happycgi.com"] seqslides[1]=["images/002.gif", "http://www.happycgi.com"] seqslides[2]=["images/003.gif", "http://www.happycgi.com"] seqslides[3]=["images/004.gif", "http://www.happycgi.com"] seqslides[4]=["images/005.gif", "http://www.happycgi.com"]
// À̹ÌÁö°£ Áö¿¬¼Óµµ¸¦ ÁöÁ¤ÇÕ´Ï´Ù var slidedelay=2000
// ÇѲ¨¹ø¿¡ º¸¿©ÁÙ À̹ÌÁöÀÇ °¹¼ö¸¦ ÁöÁ¤ÇÕ´Ï´Ù (À§¿¡¼ ÁöÁ¤ÇÑ Àüü À̹ÌÁö °¹¼öº¸´Ù´Â Àû¾î¾ß °ÚÁÒ): var slidestoreveal=3
// °¢ À̹ÌÁö »çÀÌ¿¡ Àû¿ëÇÒ Å±׸¦ ¼³Á¤ Çϼ¼¿ä var slideseparater="<br>"
// °¢ À̹ÌÁöµéÀÇ ¸µÅ© Ÿ°ÙÀ» ¼³Á¤ Çϼ¼¿ä var optlinktarget="secwindow"
// À̹ÌÁöµéÀÇ Å׵θ®¸¦ ¼³Á¤ Çϼ¼¿ä var imgborderwidth=0
// À̹ÌÁöÀÇ Åõ¸íµµ¸¦ °ÉÁ¤ ÇÕ´Ï´Ù // [ÃʱâÅõ¸íµµ,ÃÖÁ¾Åõ¸íµµ] ¼øÀ¸·Î ÁöÁ¤ÇÕ´Ï´Ù // ÃʱâÅõ¸íµµ´Â 0.1~0.9 ±îÁö Àú¡ÇÏ°í, ÃÖÁ¾Åõ¸íµµ´Â 1 ÀÔ´Ï´Ù 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="filter:alpha(opacity='+(opacityvalues[0]*100)+');-moz-opacity:'+opacityvalues[0]+'">' if (theimg[1]!="") imghtml+='</a>' return imghtml }
var curslide=1 var curimgindex=0 var isfirstcycle=1
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>
|