°³Ã¼ÀÇ ³»¿ëÀ» ȸ»ö(grayscale)°ªÀ» »ç¿ëÇÏ¿© À½°¢À¸·Î Á¶°¢ÇÑ ¸ð¾ç(embosse)À¸·Î Ç¥ÇöÇÑ´Ù.
¿Í ¹®ÀÚ¿
ÇÊÅÍ Ç¥½Ãâ
<STYLE>.butClass{width:120;background:afa;color:blue;padding-top:4}</STYLE>
<SCRIPT>
function doPlay(obj,job,bias){
HEnabled=divObj.filters[0].Enabled;
HBias=divObj.filters[0].Bias;
divObj.filters[0].Enabled=job;
divObj.filters[0].Bias=bias;
if (divObj.filters(0).enabled){
divObj.filters(0).enabled=false;
} else {
divObj.filters(0).enabled=true;
}
str='divObj.style.filter='+divObj.style.filter+'<BR>';
str+='divObj.filters[0].Enabled=('+HEnabled+') ¢¡ ('+divObj.filters.item(0).Enabled+')<BR>';
str+='divObj.filters[0].Bias=('+HBias+') ¢¡ ('+divObj.filters.item(0).Bias+')';
show.innerHTML=str;
}
</SCRIPT>
<DIV id="divObj" style="position:absolute;left:200;font-size:80;line-height:1.2em;font-weight:bold;
filter:progid:DXImageTransform.Microsoft.emboss(enabled=false)" ><IMG src='http://trio.co.kr/gif/triov.jpg'>¿Í ¹®ÀÚ¿
</DIV>
<DIV style=height:100;></DIV>
<BUTTON onclick="doPlay(this,true,0)" class="butClass">Á¤»ó À̹ÌÁö</BUTTON>
<BUTTON onclick="doPlay(this,false,1)" class="butClass">ÇÊÅÍ Bias=1</BUTTON>
<BUTTON onclick="doPlay(this,false,.7)" class="butClass">ÇÊÅÍ µðÆúÆ®</BUTTON>
<BUTTON onclick="doPlay(this,false,.5)" class="butClass">ÇÊÅÍ Bias=0.5</BUTTON>
<BUTTON onclick="doPlay(this,false,.3)" class="butClass">ÇÊÅÍ Bias=0.3</BUTTON>
<DIV id=show style="width:600;height:70;border:solid 1 blue;padding:3">ÇÊÅÍ Ç¥½Ãâ</DIV>