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


<html>
<head>
<title>ÅؽºÆ®·Î ±¸¼ºµÈ ÀÎÆ®·ÎÆäÀÌÁö</title>
</head>
<body>

<!-- [1´Ü°è] ¾Æ·¡ÀÇ Äڵ带 <body> ¿Í </body> »çÀÌ¿¡ ºÙ¿© ³ÖÀ¸¼¼¿ä -->

<script>
// º¸¿©ÁÙ ¸Þ¼¼ÁöµéÀ» ¼³Á¤ Çϼ¼¿ä
var message=new Array()
message[0]="¾È³çÇϼ¼¿ä? ¹Ý°©½À´Ï´Ù"
message[1]="ÇØÇÇCGI¿Í ÇÔ²² ÁÁÀº ½Ã°£ µÇ½Ã±â ¹Ù¶ø´Ï´Ù"
message[2]="Welcome to HAPPYCGI"
message[3]="Have a Good Time"
message[4]="Àá½ÃÈÄ ÇØÇÇCGI ȨÆäÀÌÁö·Î À̵¿ÇÕ´Ï´Ù"

// ƼĿÀÇ °¡·Î¼¼·Î Å©±â¸¦ ¼³Á¤Çϼ¼¿ä
var tickerwidth=400
var tickerheight=300

// ±Û²Ã
var tickerfont="Arial"

// ±ÛÀÚ Å©±â
var tickerfontsize=5

// ±ÛÀÚÀÇ »ö»óÀ» ÁöÁ¤ÇÕ´Ï´Ù
var tickerfontcolorpre="#FFFF00"
var tickerfontcolormark="#FFFFFF"
var tickerfontcolorafter="#333333"

// ¹è°æ»ö»ó
var backgroundcolor="black"

// ´Ü¾î°£ Áö¿¬½Ã°£ (1000 = 1 ÃÊ)
var pausebetweenwords=200

// ¸Þ¼¼Áö°£ Áö¿¬½Ã°£ (1000 = 1 ÃÊ)
var pausebetweenmessages=1000

// ÆäÀ̵å È¿°úÈÄ Áö¿¬½Ã°£ (1000 = 1 ÃÊ)
var pauseafterfade=1000

// ¾Ö´Ï¸ÞÀÌ¼Ç ÈÄ À̵¿ÇÒ ÆäÀÌÁö
var linkurl="http://www.happycgi.com"

var transparency=100
var transparencystep=5
var windowheight=0
var windowwidth=0
var x_pos=0
var y_pos=0
var i_message=-1
var messagesplit=""
var i_messagesplit=0
var i_mark=0
var tickercontent
var pausefade=40
var linkurlloaded=false
var oneloopfinished=false
var ns4=document.layers?1:0
var ns6=document.getElementById&&!document.all?1:0
var ie=document.all?1:0

function splitmessage() {
 transparency=100
 if (ie) {
  i_message++
  if (i_message>=message.length) {oneloopfinished=true}
  if (i_message>=message.length) {i_message=0}
  i_mark=0
  messagesplit=message[i_message].split(" ")
  for (i=0;i<messagesplit.length;i++) {
   messagesplit[i]=messagesplit[i]+" "
  }
  messagesplit[messagesplit.length]=" "

  document.all.ticker.filters.alpha.opacity=transparency
  if (oneloopfinished && linkurlloaded) {
   document.location.href=linkurl
  }
  else {
   runticker()
  }
 }
 else if (ns6 || ns4) {
  i_message++
  if (i_message>=message.length) {document.location.href=linkurl}
  else {
   i_mark=0
   messagesplit=message[i_message].split(" ")
   for (i=0;i<messagesplit.length;i++) {
    messagesplit[i]=messagesplit[i]+" "
   }
   messagesplit[messagesplit.length]=" "
   if (ns6) {
    document.getElementById('ticker').style.MozOpacity=transparency/100
   }
   runticker()
  }
 }
 else {
  document.location.href=linkurl
 }
}

function runticker() {
 if (i_mark<messagesplit.length) {
  gettickercontent()
   
  if (ie) {
   ticker.innerHTML=tickercontent
  }
  if (ns6) {
   document.getElementById('ticker').innerHTML=tickercontent
  }
  if (ns4) {
   document.ticker.document.write(tickercontent)
   document.ticker.document.close()
  }
    i_mark++
    
    var tickertimer=setTimeout("runticker()",pausebetweenwords)

 }
 else {
  clearTimeout(tickertimer)
  setTimeout("fade()",pausebetweenmessages)
 }
}

function fade() {
 if (transparency>0){
  transparency-=transparencystep
  if (ie) {
   document.all.ticker.filters.alpha.opacity=transparency
  }
  if (ns6) {
   document.getElementById('ticker').style.MozOpacity=transparency/100
  }
  var fadetimer=setTimeout("fade()",pausefade)
 }
 else {
  clearTimeout(fadetimer)
  setTimeout("splitmessage()",pauseafterfade)
 }
}

function gettickercontent() {
  
 tickercontent="<table width="+tickerwidth+" height="+tickerheight+" cellpadding=0 cellspacing=0 border=0><tr valign=middle><td align=center>"
 tickercontent+="<font face=\""+tickerfont+"\" size="+tickerfontsize+" color=\""+tickerfontcolorpre+"\">"
 for (i=0;i<i_mark;i++) {
  tickercontent+=messagesplit[i]
 }
 tickercontent+="</font>"
 tickercontent+="<font face=\""+tickerfont+"\" size="+tickerfontsize+" color=\""+tickerfontcolormark+"\">"
 tickercontent+=messagesplit[i_mark]
 tickercontent+="</font>"
 tickercontent+="<font face=\""+tickerfont+"\" size="+tickerfontsize+" color=\""+tickerfontcolorafter+"\">"
 for (i=(i_mark+1);i<messagesplit.length;i++) {
  tickercontent+=messagesplit[i]
 }
 tickercontent+="</font>"
 tickercontent+="</td></tr></table>"

}

setposition()
function setposition() {
 if (ie) {
  windowheight=document.body.clientHeight
  windowwidth=document.body.clientWidth
 }
 if (ns6) {
  windowheight=window.innerHeight
  windowwidth=window.innerWidth
 }
 if (ns4) {
  windowheight=window.innerHeight
  windowwidth=window.innerWidth
 }
 x_pos=(windowwidth-tickerwidth)/2
 y_pos=(windowheight-tickerheight)/2
 document.bgColor=backgroundcolor
}
function jump() {
 linkurlloaded=true
}

if (ie) {
 document.write("<div id=\"ticker\" style=\"position:absolute;top:"+y_pos+"px;left:"+x_pos+"px;width:"+tickerwidth+"px;height:"+tickerheight+"px;overflow:hidden\;filter:alpha(opacity=100);-moz-opacity:100\">")
 document.write("</div>")
 document.write("<iframe onLoad=\"jump()\" src="+linkurl+" width=0 height=0></iframe>")
 splitmessage()
}
else if (ns6) {
 document.write("<div id=\"ticker\" style=\"position:absolute;top:"+y_pos+"px;left:"+x_pos+"px;width:"+tickerwidth+"px;height:"+tickerheight+"px;overflow:hidden\;-moz-opacity:100\">")
 document.write("</div>")
 splitmessage()
}
else if (ns4) {
 document.write("<layer name=\"ticker\" width="+tickerwidth+" height="+tickerheight+" top="+y_pos+" left="+x_pos+">")
 document.write("tickercontent")
 document.write("</layer>")
 document.close()
 window.onload=splitmessage
}
else {
 document.location.href=linkurl
}
</script>

<!----------------- ¿©±â±îÁö ----------------->

</body>
</html>


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