°³Ã¼ÀÇ ³»¿ëÀ» ¼öÁ÷À¸·Î µÚÁý¾î Ç¥ÇöÇÑ´Ù.
Script | object.style.filter='(propVal)' |
HTML | <ELEMENT style="filter:(propVal)"> |
¾ÖÆ®¸®ºäÆ® | ¼Ó¼º | ¼³¸í |
---|---|---|
enabled | Enabled | ÇÊÅÍ°¡ ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. true: »ç¿ë°¡´É, false:»ç¿ë ºÒ°¡´É |
BasicImage ÇÊÅ͸¦ »ç¿ëÇÏ¿© ´õ È¿°úÀûÀ¸·Î Ç¥ÇöÇÒ ¼ö ÀÖ´Ù.
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, HR, 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 |
¿Í ¹®ÀÚ¿
<DIV> ¹ÛÀÇ <TD> ´Ù¸¥ ³»¿ë |
´Ù¸¥ <TD> |
<STYLE> .butClass{width:100} </STYLE> <SCRIPT> function showit(job){ if(job==0){ tbObj.filters[0].Enabled=false; tdObj.filters[0].Enabled=false; divObj.filters[0].Enabled=false; imgObj.filters[0].Enabled=false; } else if(job==1) change(tbObj); else if(job==3) change(tdObj); else if(job==4) change(divObj); else if(job==5) change(imgObj); str=''; str+='tbObj.style.filter=Flip('+tbObj.filters[0].Enabled+')<BR>'; str+='tdObj.style.filter=Flip('+tdObj.filters[0].Enabled+')<BR>'; str+='divObj.style.filter=Flip('+divObj.filters[0].Enabled+')<BR>'; str+='imgObj.style.filter=Flip('+imgObj.filters[0].Enabled+')<BR>'; show.innerHTML=str; } function change(obj){ if(obj.filters[0].Enabled) obj.filters[0].Enabled=false else obj.filters[0].Enabled=true } </SCRIPT> <TABLE id=tbObj border=1 cellpadding=5 cellspacing=5 width=500 style="filter:FlipV(enabled=false)"> <TR> <TD id=tdObj style="filter:FlipV(enabled=false);" bgcolor=aaaaff> <DIV id="divObj" style="filter:FlipV(enabled=false); background:ffa;font-size:40;width:400;line-height:1.2em;font-weight:bold;color:blue;"> <IMG src="http://trio.co.kr/gif/triov.jpg" id="imgObj" style="filter:FlipV(enabled=false)">¿Í ¹®ÀÚ¿</DIV> <DIV> ¹ÛÀÇ <TD> ´Ù¸¥ ³»¿ë</TD> <TD bgcolor=aaffaa>´Ù¸¥ <TD></TD> </TR> </TABLE> <BUTTON onClick="showit(0)" class="butClass">Á¤»ó</BUTTON> <BUTTON onClick="showit(1)" class="butClass">Table</BUTTON> <BUTTON onClick="showit(3)" class="butClass">TD</BUTTON> <BUTTON onClick="showit(4)" class="butClass">DIV</BUTTON> <BUTTON onClick="showit(5)" class="butClass">IMG</BUTTON> <DIV id=show style="width:500;height:85;border:solid 1 blue;padding:3">ÇÊÅÍ Ç¥½Ãâ</DIV>