°³Ã¼ ³»¿ëÀÇ ¼±¸íµµ(opacity)¸¦ Á¶Á¤ÇÏ´Â ÇÊÅÍÀÌ´Ù.
Script | object.style.filter='{progid:DXImageTransform.Microsoft.](propVal)' |
HTML | <ELEMENT style="filter:{progid:DXImageTransform.Microsoft.](propVal)"> |
progid:DXImageTransform.Microsoft. ºÎºÐÀº »ý·«ÀÌ °¡´ÉÇϳª ¼Ó¼º°ú È¿°ú°¡ ´Ù¼Ò ´Ù¸¦ ¼ö ÀÖ´Ù.
¾ÖÆ®¸®ºäÆ® | ¼Ó¼º | ¼³¸í |
---|---|---|
enabled | Enabled | ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É |
finishOpacity | FinishOpacity | Alpha ÇÊÅÍ¿¡¼ Á¡ÁøÀûÀ¸·Î Àû¿ëµÇ´Â Á¾°áÁ¡ÀÇ ¼±¸íµµ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
finishX | FinishX | Á¡ÁøÀûÀ¸·Î Àû¿ëµÇ´Â Á¾°áÁ¡ÀÇ ¼öÆò ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
finishY | FinishY | Á¡ÁøÀûÀ¸·Î Àû¿ëµÇ´Â Á¾°áÁ¡ÀÇ ¼öÁ÷ ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
opacity | Opacity | ÇÊÅÍÀÇ ½ÃÀÛÇÏ´Â ¼±¸íµµ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
startX | StartX | Á¡ÁøÀûÀ¸·Î Àû¿ëµÇ´Â ½ÃÀÛÁ¡ÀÇ ¼öÆò ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
startY | StartY | Á¡ÁøÀûÀ¸·Î Àû¿ëµÇ´Â ½ÃÀÛÁ¡ÀÇ ¼öÁ÷ ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
style | Style | Á¡ÁøÀûÀ¸·Î Àû¿ëµÇ´Â ÇüŸ¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. |
´ÙÀ½°ú °°ÀÌ Çã¿ëµÇ´Â Style ¼Ó¼º°ªµéÀ» Á¦°øÇÏ¿© Alpha ÇÊÅ͸¦ Àû¿ëÇÒ ¼ö ÀÖ´Ù.
0 | ±ÕÀÏ | Opacity ¼Ó¼º°ªÀÌ °³Ã¼ Àüü¸é¿¡ Àû¿ëµÈ´Ù. |
1 | ¼±Çü | ½ÃÀÛÁ¡ ÁÂÇ¥ StartX, StartY Á¡¿¡¼ Opacity ¼Ó¼º°ªÀ¸·Î ½ÃÀÛÇÏ¿© ±ÕÀÏÇÏ°í Á¡ÁøÀûÀ¸·Î ¼±ÇüÀ¸·Î °³Ã¼ Àû¿ëµÇ°í, Á¾°áÁ¡ ÁÂÇ¥ FinishX, FinishY¿¡¼ FinishOpacity ¼Ó¼º°ªÀ¸·Î ¿Ï·áµÈ´Ù. |
2 | ¿øÇü | °³Ã¼ÀÇ Áß½ÉÁ¡¿¡¼ Opacity ¼Ó¼º°ªÀ¸·Î ½ÃÀÛÇÏ¿© ±ÕÀÏÇÏ°í Á¡ÁøÀûÀ¸·Î ¿øÇüÀ¸·Î ¹ÛÀ¸·Î °³Ã¼ Àû¿ëµÇ°í, FinishOpacity ¼Ó¼º°ªÀ¸·Î Á¾°áµÇ¸ç, °³Ã¼ÀÇ ¸ð¼¸®¿¡´Â Àû¿ëµÇÁö ¾Ê´Â´Ù. |
3 | »ç°¢Çü | °³Ã¼ÀÇ »ç°¢Çü °¢ ¸é¿¡¼ Opacity ¼Ó¼º°ªÀ¸·Î ½ÃÀÛÇÏ¿© ±ÕÀÏÇÏ°í Á¡ÁøÀûÀ¸·Î ¼ÓÀ¸·Î °³Ã¼ Àû¿ëµÇ°í, FinishOpacity ¼Ó¼º°ªÀ¸·Î °³Ã¼ÀÇ Áß¾Ó¿¡¼ Á¾°áÇÑ´Ù. |
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, 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, runtimeStyle, S, SAMP, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP |
<SCRIPT> var clickBut=false; var style=0; function doPlay(){ divObj.filters[0].Style=(style++)%4; divObj.filters[0].Opacity=100; divObj.filters[0].FinishOpacity=0; if (clickBut){ clickBut=false; divObj.style.backgroundColor='blue'; } else { clickBut=true; divObj.style.backgroundColor="green"; } str='divObj.style.filter='+divObj.style.filter+'<BR>'; str+='¢¡Enabled=('+divObj.filters[0].Enabled+'), '; str+='Style=('+divObj.filters(0).Style+'), '; str+='Opacity=('+divObj.filters(0).Opacity+'), FinishOpacity=('+divObj.filters[0].FinishOpacity+')<BR> '; show.innerHTML=str; } </SCRIPT> <DIV id="divObj" style="width:500;height:200;background-color:blue;padding=5;font-size:40;line-height:1.2em;color:yellow;font-weight:bold; filter:progid:DXImageTransform.Microsoft.Alpha(Style=3);"> <IMG src=../../gif/rfexample.gif width=100><BR> Alpha ÇÊÅÍ ¿¹Á¦ </DIV> <BUTTON onclick="doPlay()" style="width:500">ÇÊÅÍ È¿°ú¸¦ À§ÇØ Å¬¸¯ÇØ º¸¶ó</BUTTON> <DIV id=show style="width:500;height:50;border:solid 1 blue;padding:3;font-size:80%">ÇÊÅÍ Ç¥½Ãâ</DIV>