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

<HTML>
<HEAD>
    <TITLE>ÇØÇÇCGI</TITLE>
<script type="text/javascript">
<!--

window.onerror         = new Function("return true");
document.onselectstart = new Function("return false");

nx  = 0;
ny  = 0;
xm  = 0;
ym  = -1000000;
O   = 0;

/////////////
VS  = .2;
S   = 5000;
W   = 500;
H   = 320;
FX  = 1.1;
/////////////

function CObj(parent,x,y,txt){
    o = document.createElement("span");
    o.style.position='absolute';
    o.innerHTML = txt;
    document.getElementById("sp").appendChild(o);
    this.obj  = o.style;
    this.x   = x;
    this.y   = y;
    this.x0  = x;
    this.y0  = y;
    this.anim = function () {
        with(this){
            dx = xm - x;
            dy = ym - y;
            d = Math.sqrt(dx * dx + dy * dy);
            obj.left = x = x - S / d * (dx / d) + (x0 - x) * VS;
            obj.top  = y = y - S / d * (dy / d) + (y0 - y) * VS;
            if(parent)parent.anim();
        }
    }
}

function run(){
    O.anim();
    setTimeout("run()", 16);
}

document.onmousemove = function(e){
    if (window.event) e = window.event;
    xm = (e.x || e.clientX) - nx;
    ym = (e.y || e.clientY) - ny;
}

function resize(){
    nx = document.body.offsetWidth * .5;
    ny = document.body.offsetHeight * .5;
}
onresize = resize;

function fontWidth(word){
    // arial font
    var S = "a68b68c68d68e68f31g68h68i31j31k68l31m108n68o68p68q68r39s68t39u68v50w90x68y68z68A90B90C90D90E90F78G98H90I28J59K90L68M108N90O98P90Q98R90S90T68U90V90W130X68Y90Z68'30.42!29?68-41/41=72";
    var l = word.length;
    var s = 0;
    var x = 0;
    var c = 0;
    for(i=0;i<l;i++){
        c = word.charAt(i);
        x = S.indexOf(c);
        if(c>="0" && c<="9")s+=69;
        else if(x>=0)s+=parseInt(S.substring(x+1,x+4));
        else s+=68;
    }
    return s/10;
}

onload = function(){

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    T = [
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "",
        "",
        "",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
        "ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI ÇØÇÇCGI",
    ];
   
    // Replace
    var R = {"Wikipedia": "<div style='color:#FF8000'>Wikipedia</div>", "click": "<div style='color:#FFFFFF'><font color=white>click</font></div>"};
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    resize();
    x = 0;
    y = 0;
    for(j in T){
        Tx = T[j].split(" ");
        // justify
        xt = 0;
        for(i in Tx){
            txt = Tx[i];
            xt += fontWidth(txt);
        }
        if(Tx.length)sP = (W - xt) / (Tx.length-1); else sP = 0;
        // insert word
        for(i in Tx){
            txt = Tx[i];
            if(txt) {
                O = new CObj(O, -(W/2)+x, -(H/2)+y, R[txt]!=undefined?R[txt]:txt);
                x += FX*(fontWidth(txt)+sP);
            }
        }
        y += 18;
        x = 0;
    }
    // big click !!!
    O = new CObj(O, -50, -20, "<div style='font-size:48px;font-weight:bold;'>click!</div>");
    run();
}
//-->
</script>
</head>
<body background="img/sample.jpg">


<div id="sp" style="position:absolute;left:50%;top:50%;"></div>


</body></html>

 

- Ãâó: www.blueb.co.kr -


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