| You are here: Home > Scripts > Javascript Invert Image |
| ||||||||||||||||||||
Back to ScriptsJavascript, Image Invert or XRay filterRequires Internet Explorer 5.5 or later to work The DIV is located below, before applying image filters the image object requires its layout to be set. We do that by setting its height and width properties (done inside the style tag). Having the layout defined can also be done by setting the position attribute to absolute. Or the layout can be defined by setting the property CONTENTEDITABLE in the div. There are TWO specific filters to get a negative of your image, the xray filter and the invert filter The XRay essentially creates a grayscale negative of your image while the invert creates a colorized version of your image negative.
DHTML SourceReferences: MSDN - Drop Shadow MSDN - Shadow |
|
contact us: elouai@gmail.com ©2003-2009 eLouai.com, All rights reserved |