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



<script language="javascript"><!--<br /> function Level(i, v, x)<br /> {<br /> this.i = i;<br /> this.v = v;<br /> this.x = x<br /> }<br /> <br /> levels = new Array();<br /> <br /> levels[0] = new Level(``I``, ``V``, ``X``);<br /> levels[1] = new Level(``X``, ``L``, ``C``);<br /> levels[2] = new Level(``C``, ``D``, ``M``);<br /> <br /> <br /> <br /> <br /> function calcDigit(d, l)<br /> {<br /> if (l > 2)<br /> {<br /> str = ````;<br /> for (var m = 1; m <= d * Math.pow(10, l - 3) ; m++)<br /> str += ``M``;<br /> return str<br /> }<br /> <br /> else<br /> if (d == 1)<br /> return levels[l].i<br /> else<br /> if (d == 2)<br /> return levels[l].i + levels[l].i<br /> else<br /> if (d == 3)<br /> return levels[l].i + levels[l].i + levels[l].i<br /> else<br /> if (d == 4)<br /> return levels[l].i + levels[l].v<br /> else<br /> if (d == 5)<br /> return levels[l].v<br /> else<br /> if (d == 6)<br /> return levels[l].v + levels[l].i<br /> else<br /> if (d == 7)<br /> return levels[l].v + levels[l].i + levels[l].i<br /> else<br /> if (d == 8)<br /> return levels[l].v + levels[l].i + levels[l].i + levels[l].i<br /> else<br /> if (d == 9)<br /> return levels[l].i + levels[l].x<br /> else<br /> return ````<br /> }<br /> <br /> function toRoman(n)<br /> {<br /> var r = ````<br /> for (var c = 0; c < n.length; c++)<br /> r += calcDigit(eval(n.charAt(c)), n.length - c - 1);<br /> return r <br /> }<br /> <br /> function fromRoman(n)<br /> {<br /> var r = 0<br /> <br /> for (var c = 0; c < n.length; c++)<br /> {<br /> var chr = n.charAt(c).toLowerCase();<br /> if (c < n.length - 1)<br /> var next = n.charAt(c + 1).toLowerCase()<br /> else<br /> var next = ````;<br /> <br /> if (c > 0)<br /> var prev = n.charAt(c - 1).toLowerCase()<br /> else<br /> var prev = ````;<br /> <br /> if (chr == ``i``)<br /> {<br /> if (next == ``v``)<br /> r += 4<br /> else<br /> if (next == ``x``)<br /> r += 9<br /> else<br /> r += 1;<br /> continue<br /> }<br /> <br /> if (chr == ``v``) <br /> {<br /> if (prev != ``i``)<br /> r += 5;<br /> continue<br /> }<br /> <br /> if (chr == ``x``)<br /> {<br /> if (prev != ``i``)<br /> if (next == ``l``)<br /> r += 40<br /> else<br /> if (next == ``c``)<br /> r += 90<br /> else<br /> r += 10;<br /> continue<br /> }<br /> <br /> if (chr == ``l``)<br /> {<br /> if (prev != ``x``)<br /> r += 50;<br /> continue<br /> }<br /> <br /> if (chr == ``c``)<br /> {<br /> if (prev != ``x``)<br /> if (next == ``d``)<br /> r += 400<br /> else<br /> if (next == ``m``)<br /> r += 900<br /> else<br /> r += 100;<br /> continue<br /> }<br /> <br /> if (chr == ``d``)<br /> {<br /> if (prev != ``c``)<br /> r += 500;<br /> continue<br /> }<br /> <br /> if (chr == ``m``)<br /> {<br /> if (prev != ``c``)<br /> r += 1000;<br /> continue<br /> <br /> }<br /> }<br /> <br /> return r<br /> <br /> }<br /> <br /> <br /> function isNuneric(str)<br /> {<br /> for (var c = 0; c < str.length; c++)<br /> {<br /> var chr = str.charAt(c);<br /> if (chr != ``0`` & chr != ``1`` & chr != ``2`` & chr != ``3`` & chr != ``4`` & chr != ``5`` & chr != ``6`` & chr != ``7`` & chr != ``8`` & chr != ``9``)<br /> return false<br /> }<br /> return true<br /> }<br /> <br /> function get(f)<br /> {<br /> <br /> var n = f.elements[0].value<br /> <br /> if (!isNuneric(n))<br /> {<br /> for (var c = 0; c < n.length; c++)<br /> {<br /> var chr = n.charAt(c).toLowerCase();<br /> if (chr != ``i`` & chr != ``v`` & chr != ``x`` & chr != ``l`` & chr != ``c`` & chr != ``d`` & chr != ``m``)<br /> {<br /> alert (``Only the letters I (1),V (5), X (10), L (50), C (100), D (500), M (1000)``);<br /> return false<br /> }<br /> }<br /> mode = ``fromRoman``<br /> }<br /> else<br /> mode = ``toRoman``;<br /> <br /> if (mode == ``toRoman``)<br /> f.elements[0].value = toRoman(f.elements[0].value)<br /> else<br /> f.elements[0].value = fromRoman(f.elements[0].value);<br /> <br /> return false<br /> }<br /> <br /> function focus() // ÀÚµ¿ Æ÷Ä¿½º<br /> {<br /> if (navigator.userAgent.indexOf(``Mozilla/3``) != -1 | navigator.userAgent.indexOf(``Mozilla/4``) != -1)<br /> document.forms[0].elements[0].focus() <br /> }<br /> // --><br /> </script>























 


 






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