xray Filter
Changes the color depth of the visual object, and renders the object in black and white, making the visual display look like a black-and-white x-ray.
Syntax
HTML <ELEMENT STYLE = "filter: xray" ... > Scripting object.style.filter = "xray"
Members
Example
This example uses the xray filter to render colored text in grayscale.
Sample Code
<STYLE> DIV.aFilter {filter: xray; width: 150; color: #FF0000;} </STYLE> <DIV CLASS="aFilter"> This red text is displayed in grayscale. </DIV>
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. BODY, BUTTON, DIV, 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, MARQUEE, runtimeStyle, SPAN, style, TABLE, TD, TEXTAREA, TH
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.