| You are here: Home > Scripts > Javascript Mask Images |
| ||||||||||||||||||||
Back to ScriptsJavascript Mask ImagesRequires 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. In the example below we populate the background image with the matrix icon, By turning on the mask we will now ONLY see the background that the image obscured.
DHTML SourceReferences: MSDN - Mask Image |
|
contact us: elouai@gmail.com ©2003-2010 eLouai.com, All rights reserved |