°³Ã¼ÀÇ Åõ¸íÇÑ ³»¿ëÀ» »ö»óÀ» ³Ö¾î Ç¥½ÃÇÏ°í, Åõ¸íÇÏÁö ¾ÊÀº ºÎºÐÀº Åõ¸íÇÏ°Ô Ç¥ÇöÇÑ´Ù.

Script object.style.filter='progid:DXImageTransform.Microsoft.(propVal)'
HTML <ELEMENT style="filter:progid:DXImageTransform.Microsoft.(propVal)">
MaskFilter ÇÊÅÍ ¿¹Á¦(Ŭ¸¯)
Àμö
propVal : (¼Ó¼º ¹®ÀÚ¿­)
ÇÊÅÍ°¡ °¡Áú ¼ö ÀÖ´Â ÇÑ°³ ÀÌ»óÀÇ ¼Ó¼ºµé·Î ¼Ó¼º=°ªµéÀ» Äĸ¶(,)·Î ¿¬°á, ±¸¼ºµÈ ¹®ÀÚ¿­ÀÌ´Ù.

¾ÖÆ®¸®ºäÆ® ¼Ó¼º ¼³¸í
color Color ÇÊÅÍ¿¡ Àû¿ëµÇ´Â »ö»ó°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
enabled Enabled ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É
Ư±â

BasicImage ÇÊÅ͸¦ »ç¿ëÇÏ¿© ´õ È¿°úÀûÀ¸·Î Ç¥ÇöÇÒ ¼ö ÀÖ´Ù.

Àû¿ëstyle
A, ACRONYM, ADDRESS, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAME, hn, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LABEL, LEGEND, LI, MARQUEE, MENU, NOBR, OL, OBJECT, P, plainText, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP

DIV¿¡¼­ ÇÊÅÍ ¼Ó¼º ¿¹Á¦


MaskFilter ÇÊÅÍ ¿¹Á¦
ÇÊÅÍ Ç¥½Ãâ
<SCRIPT>
aColors=new Array('pink','red','navy','magenta','green','blue','brown','teal');
Cidx=0;
Fidx=3;
function doPlay(job){
  if(!job) divObj.filters[0].Enabled=false;
  else{
    divObj.style.backgroundColor='';
    divObj.filters[0].Enabled=true;
    if (job==1){
    } else if (job==2){
      Cidx++;
      divObj.filters[0].color=aColors[Cidx%aColors.length];
    } else if (job==3){
      Fidx++;
    } else if (job==4){
      divObj.style.backgroundColor=aColors[(Cidx+1)%aColors.length];
    }
    divObj.filters[0].Apply();
    divObj.style.color=aColors[Fidx%aColors.length];
    divObj.filters[0].Play();
  }
  str='';
  str+='filter='+divObj.style.filter+'<BR>';
  str+='¢¡ Enabled=('+divObj.filters[0].Enabled+'), MaskFilter(color='+divObj.filters[0].color+'), ';
  str+='background=('+divObj.style.backgroundColor+'), color=('+divObj.style.color+')<BR>';
  show.innerHTML=str;
}
</SCRIPT>

<STYLE>
.divClass {width:600;height:100;font-size:30;line-height:1.2em;font-weight:bold;padding:9}
.butClass {width:120}
</STYLE>
<DIV id="divObj" class="divClass"
  style="filter:progid:DXImageTransform.Microsoft.MaskFilter(color=pink);color:red;">
<IMG src=../../gif/rfexample.gif width=100><BR>
MaskFilter ÇÊÅÍ ¿¹Á¦
</DIV>
<BUTTON onclick="doPlay(0)" class="butClass">Á¤»ó À̹ÌÁö</BUTTON>
<BUTTON onclick="doPlay(1)" class="butClass">Mask ÇÊÅÍ È¿°ú</BUTTON>
<BUTTON onclick="doPlay(2)" class="butClass">ÇÊÅÍ»ö»ó</BUTTON>
<BUTTON onclick="doPlay(3)" class="butClass">±ÛÀÚ »ö»ó</BUTTON>
<BUTTON onclick="doPlay(4)" class="butClass">¹è°æ»ö ³ÖÀ¸¸é?</BUTTON>
<DIV id=show style="width:600;height:45;border:solid 1 blue;padding:3">ÇÊÅÍ Ç¥½Ãâ</DIV>
</DIV>