°³Ã¼ÀÇ ³»¿ëÀ» ¹«ÀÛÀ§ ÁÙÀ» Ãß°¡Çϸ鼭 »õ·Î¿î ³»¿ëÀ¸·Î º¯È¯ÇÏ¿© Ç¥ÇöÇÑ´Ù.

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

¾ÖÆ®¸®ºäÆ® ¼Ó¼º ¼³¸í
duration Duration º¯È¯ÀÌ ¿Ï¼ºµÇ´Â ½Ã°£ÀÇ ±æÀ̸¦ ¹Ð¸®ÃÊ ´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
enabled Enabled ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É
orientation Orientation ÇÊÅÍ È¿°ú¸¦ ¼öÆòÀ¸·Î ÇÒ °ÍÀΰ¡ ¼öÁ÷À¸·Î ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
  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¿¡¼­ ÇÊÅÍ ¼Ó¼º ¿¹Á¦


RandomBars ÇÊÅÍ ¿¹Á¦

ÇÊÅÍ Ç¥½Ãâ
<SCRIPT>
var clickBut=false;
function doPlay(){
  divObj.filters[0].Apply();
  if (clickBut){
    clickBut=false;
    divObj.style.backgroundColor='pink';
  } else {
    clickBut=true;
    divObj.style.backgroundColor='green';
  }
  divObj.filters[0].Play();
  str='divObj.style.filter='+divObj.style.filter+'<BR>';
  str+='¢¡Enabled=('+divObj.filters[0].Enabled+'), ';
  str+='Orientation=('+divObj.filters[0].Orientation+'), ';
  str+='Duration=('+divObj.filters.item(0).Duration+')<BR>';
  show.innerHTML=str;
}
</SCRIPT>
<DIV id="divObj"
  style="height:200;width:500;font-size:40;line-height:1.2em;color:yellow;background-color:pink;padding:9;
    filter:progid:DXImageTransform.Microsoft.RandomBars(duration=5);">
<IMG src=../../gif/rfexample.gif width=100><BR>
RandomBars ÇÊÅÍ ¿¹Á¦
</DIV>
<BUTTON onclick="divObj.filters[0].Orientation='horizontal';doPlay()" style="width:250">ÇÊÅÍ È¿°ú(¼öÆò)</BUTTON>
<BUTTON onclick="divObj.filters[0].Orientation='vertical';doPlay()" style="width:250">ÇÊÅÍ È¿°ú(¼öÁ÷)</BUTTON><BR>
<BUTTON onclick="divObj.filters[0].Duration='1';doPlay()" style="width:100">ÇÊÅÍ Áö¼Ó(1)</BUTTON>
<BUTTON onclick="divObj.filters[0].Duration='2';doPlay()" style="width:100">ÇÊÅÍ Áö¼Ó(2)</BUTTON>
<BUTTON onclick="divObj.filters[0].Duration='4';doPlay()" style="width:100">ÇÊÅÍ Áö¼Ó(4)</BUTTON>
<BUTTON onclick="divObj.filters[0].Duration='8';doPlay()" style="width:100">ÇÊÅÍ Áö¼Ó(8)</BUTTON>
<BUTTON onclick="divObj.filters[0].Duration='16';doPlay()" style="width:100">ÇÊÅÍ Áö¼Ó(16)</BUTTON>
<DIV id=show style="width:500;height:50;border:solid 1 blue;padding:3;font-size:80%">ÇÊÅÍ Ç¥½Ãâ</DIV>