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

 

<!--/// (1) <HEAD> ű׾ȿ¡ ¾Æ·¡ÀÇ ¼Ò½ºÄڵ带 »ðÀÔÇϼ¼¿ä. ///-->
<script langauge="javascript">
// Author: Dion, biab@iinet.net.au, http://biab.howtojs.com/
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/

addary=new Array(255,1,1);
clrary=new Array(360);
for(i=0;i<6;i++)
for(j=0;j<60;j++)
{ clrary[60*i+j]=new Array(3);
for(k=0;k<3;k++)
{ clrary[60*i+j][k]=addary[k];
addary[k]+=((Math.floor(65049010/Math.pow(3,i*3+k))%3)-1)*4; }; };

function capture()
{ if(document.layers)
{ with(document.layers['imgdiv'])
{ document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=moved; }; }
else { document.all.imgdiv.onmousemove=moved; };
};

function moved(e)
{ sx=((document.layers)?e.layerY:event.offsetY)-256;
sy=((document.layers)?e.layerX:event.offsetX)-256;
quad=new Array(-180,360,180,0);
xa=Math.abs(sx); ya=Math.abs(sy);
d=ya*45/xa;
if(ya>xa) d=90-(xa*45/ya);
deg=Math.floor(Math.abs(quad[2*((sy<0)?0:1)+((sx<0)?0:1)]-d));
n=0; c="000000";
r=Math.sqrt((xa*xa)+(ya*ya));
if(sx!=0 || sy!=0)
{ for(i=0;i<3;i++)
{ r2=clrary[deg][i]*r/128;
if(r>128) r2+=Math.floor(r-128)*2;
if(r2>255) r2=255;
n=256*n+Math.floor(r2); };
c=(n.toString(16)).toUpperCase();
while(c.length<6) c="0"+c; };
if(document.layers)
{ document.layers['clrdiv'].bgColor="#"+c; }
else
{ document.all["clrdiv"].style.backgroundColor="#"+c; };
document.frm.txt.value="#"+c;
document.frm.hid.value="#"+c;
return false; };
function setcolor()
{ document.frm.sel.value=document.frm.hid.value; };
</script>
<style type="text/css">
#imgdiv { position:relative; }
#clrdiv { position:relative; background-color:white; }
</style>

 

<!--/// (2) <BODY> ű׿¡ ¾Æ·¡ÀÇ ¼Ò½ºÄڵ带 »ðÀÔÇϼ¼¿ä. ///-->
<body onload="capture();">



<!--/// (3) <BODY> ű׾ȿ¡ ¾Æ·¡ÀÇ ¼Ò½ºÄڵ带 »ðÀÔÇϼ¼¿ä. ///-->
<table border=1 cellpadding=0 cellspacing=0>
<tr><td><div id=imgdiv><a href="javascript:void(0);" onclick="setcolor(); return false;">
<img src="images/colorwheel.jpg" width=512 height=512 border=0></a></div></td></tr>
<tr><td align="center"><div id=clrdiv>262,144 colors to choose from</div></td></tr>
<tr><form name="frm"><td align="center"><input type="text" name="txt" size=12>
<input type="text" name="sel" size=12>
<input type="hidden" name="hid"></td></form></tr>
</table>


<!--/// (4) ¾Æ·¡ º¸ÀÌ´Â À̹ÌÁö¸¦ ÇØ´çÆú´õ À§Ä¡¿¡ ÀúÀåÇÕ´Ï´Ù. (HTMLÆÄÀϱâÁØ: images/colorwheel.jpg) ///-->

 


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