°³Ã¼ÀÇ ³»¿ëÀ» ¾È¿¡¼­ºÎÅÍ ¹ÛÀ¸·Î ȤÀº ¹Û¿¡¼­ºÎÅÍ ¾ÈÀ¸·Î ¿­¸®¸é¼­ º¯È¯ÇÏ¿© »õ ³»¿ëÀ¸·Î º¯È¯ÇÑ´Ù.

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

progid:DXImageTransform.Microsoft. ºÎºÐÀº »ý·«ÀÌ ºÒ°¡´ÉÇÏ´Ù.


¾ÖÆ®¸®ºäÆ® ¼Ó¼º ¼³¸í
duration Duration º¯È¯ÀÌ ¿Ï¼ºµÇ´Â ½Ã°£ÀÇ ±æÀ̸¦ ¹Ð¸®ÃÊ ´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
enabled Enabled ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É
irisStyle IrisStyle °³Ã¼ ³»¿ëÀÇ º¯È¯ÇÏ´Â ¸ð¾çÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
motion Motion °³Ã¼ÀÇ ³»¿ëÀÇ º¯È¯À» ¾È¿¡¼­ ¹ÛÀ¸·ÎÇϴ°¡, ¹Û¿¡¼­ ¾ÈÀ¸·Î Çϴ°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
  Percent Á¤ÁöµÈ ÇÊÅÍ Ãâ·ÂÀ» ĸÃÄÇÒ ¿Ï¼ºµµ ¹éºÐÀ² Æ÷ÀÎÆ®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
  status º¯È¯ÀÇ »óŸ¦ ¹ÝȯÇÑ´Ù.

¸Þ¼­µå status ¼³¸í
apply 1 º¯È¯À» À§ÇØ ¿øº» °³Ã¼ÀÇ ³»¿ëÀ» ĸÃÄ(capture)ÇÑ´Ù.
play 2 º¯È¯ÇÏ¸ç µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
stop 0 º¯È¯ÀÇ ¹Ýº¹À» ÁßÁöÇÑ´Ù.
Ư±â
Àû¿ë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, FRAMESET, 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, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP

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


Iris ÇÊÅÍ ¿¹Á¦

ÇÊÅÍ Ç¥½Ãâ
<SCRIPT>
var aTypes=new Array('plus','diamond','circle','cross','square','star');
var aColors=new Array('green','pink','red','yellow','aqua','blue','brown','teal');
var Sidx=Bidx=Fidx=0;
bgB='pink';

function doPlay(job){
  bgA=divObj.style.backgroundColor=aColors[Bidx%aColors.length];
  if (!job) divObj.filters[0].Enabled=false;
  else {
    if (job==1){
    } else if (job==2){
      divObj.filters[0].irisstyle=aTypes[(++Sidx)%aTypes.length];
    } else if (job==3){
      divObj.filters[0].Duration++;
    } else if (job==4){
      if (divObj.filters[0].Duration) divObj.filters[0].Duration--;
    } else if (job==5){
      divObj.filters[0].Motion='in';
    } else if (job==6){
      divObj.filters[0].Motion='out';
    } else if (job==7){
      divObj.style.color=aColors[(++Fidx)%aColors.length];
    } else if (job==8){
      bgA=aColors[(++Bidx)%aColors.length];
      bgB=aColors[(Bidx+1)%aColors.length];
    }
    divObj.style.backgroundColor=bgA;
    divObj.filters[0].Enabled=true;
    divObj.filters[0].Apply();
    divObj.style.backgroundColor=bgB;
    divObj.filters[0].Play();
  }
  str='';
  str+='filter='+divObj.style.filter+'<BR>';
  str+='¢¡ Enabled=('+divObj.filters[0].Enabled+'), ';
  str+='IrisStyle=('+divObj.filters[0].IrisStyle+'), ';
  str+='Duration=('+divObj.filters[0].Duration+') ';
  str+='Motion=('+divObj.filters[0].Motion+')<BR>';
  str+='background=('+bgA+')¢¡('+bgB+'), color=('+divObj.style.color+')';
  show.innerHTML=str;
}
</SCRIPT>

<DIV id="divObj"
  style="height:300;width:550;background-color:pink;font-size:30;line-height:1.2em;font-weight:bold;color:blue;padding:9;
  filter:progid:DXImageTransform.Microsoft.Iris(IrisStyle=plus,duration=3);">
<IMG src=../../gif/rfexample.gif width=100><BR>
Iris ÇÊÅÍ ¿¹Á¦
</DIV>
<BUTTON onclick="doPlay(0)" style="width:110">Á¤»ó À̹ÌÁö</BUTTON>
<BUTTON onclick="doPlay(1)" style="width:110">Iris ÇÊÅÍ È¿°ú</BUTTON>
<BUTTON onclick="doPlay(2)" style="width:110">½ºÅ¸ÀÏ º¯°æ</BUTTON>
<BUTTON onclick="doPlay(3)" style="width:110">Duration++</BUTTON>
<BUTTON onclick="doPlay(4)" style="width:110">Duration--</BUTTON><BR>
<BUTTON disabled style="width:110"></BUTTON>
<BUTTON onclick="doPlay(5)" style="width:110">¾ÈÀ¸·Î</BUTTON>
<BUTTON onclick="doPlay(6)" style="width:110">¹ÛÀ¸·Î</BUTTON>
<BUTTON onclick="doPlay(7)" style="width:110">±ÛÀÚ»ö º¯°æ</BUTTON>
<BUTTON onclick="doPlay(8)" style="width:110">¹è°æ»ö º¯°æ</BUTTON>
<DIV id=show style="width:550;height:70;border:solid 1 blue;padding:3">ÇÊÅÍ Ç¥½Ãâ</DIV>
</DIV>