Á¤ÁöµÈ ÇÊÅÍ Ãâ·ÂÀ» ĸÃÄÇÒ ¿Ï¼ºµµ ¹éºÐÀ² Æ÷ÀÎÆ®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Script object.filters.item('progid:DXImageTransform.Microsoft.filterName').[=propVal]
HTML  
Àμö
propVal °ªÀÇ Á¾·ù : Á¤¼ö : º¯È¯ÀÌ ¿Ï·áµÈ ºñÀ²(¹éºÐÀ²)
0 µðÆúÆ® º¯È¯ÀÌ ½ÃÀÛµÇÁö ¾Ê¾Ò´Ù.
~   º¯È¯ÀÌ ÁøÇà ÁßÀÌ´Ù.
100   º¯È¯ÀÌ ¿Ï·áµÇ¾ú´Ù.
Àбâ/¾²±â °¡´É¼º
Àбâ/¾²±â
Ư±â

Percent ¼Ó¼º°ªÀº º¯È¯ µµÁß ¾î´À ½ËÁ¡¿¡¼­ º¯È¯À» Á¾·áÇÒ °ÍÀΰ¡¸¦ ¹éºÐÀ²·Î ÁöÁ¤ÇÑ´Ù. °íÁ¤ À̹ÌÁö°¡ »ý¼ºµÉ ¶§±îÁö ´ÙÀ½ °úÁ¤À» °ÅÄ£´Ù:

  1. ÇÊÅÍ¿¡ apply ¸Þ¼­µå°¡ Àû¿ëµÇ¸é ¿øº» À̹ÌÁö¸¦ ĸÃÄÇÑ´Ù. À̶§´Â Percent ¼Ó¼º°ªÀÌ 0ÀÌ´Ù.
  2. °³Ã¼ÀÇ ³»¿ëÀ» visibility, backgroundColor, border, innerText ȤÀº ÀÚ½Ä °³Ã¼ÀÇ ´Ù¸¥ ¼Ó¼ºµéÀ» »ç¿ëÇÏ¿© º¯°æ½ÃŲ´Ù.
  3. º¯È¯ÀÌ ÁßÁöµÇ¾î ³ªÅ¸³¯ °íÁ¤À̹ÌÁöÀÇ ÁøÇà ºñÀ²À» Percent ¼Ó¼º°ª¿¡ ÁöÁ¤ÇÑ´Ù.
  4. Enabled ¼Ó¼º°ªÀ» true·Î ÇÏ¸é °³Ã¼ÀÇ ³»¿ëÀÌ º¯È¯µÈ´Ù.

ÁÖÀÇ : ÀÚ½Ä °³Ã¼¿¡ visibility ¼Ó¼ºÀ» »ç¿ëÇÏÁö ¾ÊÀ¸¸é Áï°¢ÀûÀ¸·Î º¯È¯µÇ¾î º¯È¯¿¡ ÀÇÇÑ Ä¸Ãĸ¦ ÇÒ ¼ö ¾ø´Ù.
play ¸Þ¼­µå¸¦ Àû¿ëÇÏ¸é º¯È¯ÀÌ ¸ðµÎ ÁøÇàµÈ´Ù.



Wheel¿¡¼­ Percent ¼Ó¼º ¿¹Á¦


Wheel ÇÊÅÍ ¿¹Á¦
<SCRIPT>
function doPlay(job){
  divObj.style.backgroundColor='pink';
  divObj.style.color='blue';
  divObj.filters[0].Apply();
  divObj.style.backgroundColor="blue";
  divObj.style.color='white';
  divObj.filters[0].Enabled=true;
  if (job=='play') divObj.filters[0].Play();
  else divObj.filters[0].Percent=job;
}
</SCRIPT>

<DIV id="divObj"
  style="width:600;height:100;background-color:pink;color:blue;font-size:30;line-height:1.2em;font-weight:bold;padding:9;
    filter:progid:DXImageTransform.Microsoft.Wheel(Duration=4,Spokes=8);">
<IMG src=../../gif/rfexample.gif width=100><BR>
Wheel ÇÊÅÍ ¿¹Á¦
</DIV>
<BUTTON onclick="doPlay(2)" style="width:100">Percent=2</BUTTON>
<BUTTON onclick="doPlay(10)" style="width:100">Percent=10</BUTTON>
<BUTTON onclick="doPlay(50)" style="width:100">Percent=50</BUTTON>
<BUTTON onclick="doPlay(75)" style="width:100">Percent=75</BUTTON>
<BUTTON onclick="doPlay(98)" style="width:100">Percent=98</BUTTON>
<BUTTON onclick="doPlay('play')" style="width:100">play()</BUTTON>