Á¤ÁöµÈ ÇÊÅÍ Ãâ·ÂÀ» ĸÃÄÇÒ ¿Ï¼ºµµ ¹éºÐÀ² Æ÷ÀÎÆ®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
Script | object.filters.item('progid:DXImageTransform.Microsoft.filterName').[=propVal] |
HTML |
propVal | °ªÀÇ Á¾·ù : Á¤¼ö : º¯È¯ÀÌ ¿Ï·áµÈ ºñÀ²(¹éºÐÀ²)
|
Percent ¼Ó¼º°ªÀº º¯È¯ µµÁß ¾î´À ½ËÁ¡¿¡¼ º¯È¯À» Á¾·áÇÒ °ÍÀΰ¡¸¦ ¹éºÐÀ²·Î ÁöÁ¤ÇÑ´Ù. °íÁ¤ À̹ÌÁö°¡ »ý¼ºµÉ ¶§±îÁö ´ÙÀ½ °úÁ¤À» °ÅÄ£´Ù:
ÁÖÀÇ : ÀÚ½Ä °³Ã¼¿¡ visibility ¼Ó¼ºÀ» »ç¿ëÇÏÁö ¾ÊÀ¸¸é Áï°¢ÀûÀ¸·Î º¯È¯µÇ¾î º¯È¯¿¡ ÀÇÇÑ Ä¸Ãĸ¦ ÇÒ ¼ö ¾ø´Ù.
play ¸Þ¼µå¸¦ Àû¿ëÇÏ¸é º¯È¯ÀÌ ¸ðµÎ ÁøÇàµÈ´Ù.
<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>