You are here:   Home > Scripts > Javascript Invert Image
What's
New
Doll
Makers
Room
Makers
Puzzle
Makers
Roiworld Stardoll Links
GirlSense - online dress up games for girls with fashion sense

Back to Scripts

Javascript, Image Invert or XRay filter



Requires 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.



Div text








DHTML Source



References:
MSDN - Drop Shadow
MSDN - Shadow




About     Privacy Policy     Hosting by Web Hosting Canada

Except where otherwise noted, this site is licensed under a Creative Commons License



contact us: elouai@gmail.com
©2003-2008 eLouai.com, All rights reserved