AlphaImageLoader ÇÊÅÍ°¡ Àû¿ëµÉ °³Ã¼ÀÇ À̹ÌÁö ÁÖ¼Ò¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
Script | object.filters.item('progid:DXImageTransform.Microsoft.AlphaImageLoader').[=propVal] |
HTML | {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(=propVal)...} |
propVal | °ªÀÇ Á¾·ù : ¹®ÀÚ¿
|
ÀÐÇôÁø À̹ÌÁö´Â °³Ã¼ÀÇ Åµθ®°¡ µÈ´Ù.
ÇÊÅÍÀÇ SizingMethod ¼Ó¼ºÀ» ¼³Á¤ÇÏ¿© À̹ÌÁöÀ» ÀÚ¸£°Å³ª Å©±â¸¦ Á¶Á¤ÇÒ ¼ö ÀÖ´Ù.
À¯È¿ÇÏÁö ¾ÊÀº ÁÖ¼Ò´Â ¹«½ÃµÈ´Ù.
<SCRIPT> function doPlay(job){ divObj.filters[0].Enabled=true; divObj.style.backgroundColor='pink'; divObj.style.color='blue'; divObj.filters[0].Apply(); if (!job) divObj.filters[0].Enabled=false; else { divObj.style.backgroundColor='lightgreen'; divObj.style.color='red'; divObj.filters[0].src=job; divObj.filters[0].Play(); } } </SCRIPT> <STYLE> .butClass{width:200} </STYLE> <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.AlphaImageLoader(Duration=5,SizingMethod='scale');"> <IMG src=../../gif/rfexample.gif width=100><BR> AlphaImageLoader ÇÊÅÍ ¿¹Á¦ </DIV> <BUTTON onclick="doPlay(0)" class="butClass">Á¤»ó À̹ÌÁö</BUTTON> <BUTTON onclick="doPlay('../../gif/rfexample.gif')" class="butClass">src='../../gif/rfexample.gif'</BUTTON> <BUTTON onclick="doPlay('../../gif/rfproperty.gif')" class="butClass">src='../../gif/rfproperty.gif'</BUTTON> </DIV>