| You are here: Home > Scripts > Javascript Image Transitions, Spiral, Pixelate, Wipe |
| ||||||||||||||||||||
Back to ScriptsJavascript Image Transitions 4: Spiral, Pixelate and RadialWipeRequires 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. Transition Spiral: duration the length of time a transistion takes to complete, format seconds.milliseconds (0.0000), a value of 0.5 is half a second gridSizeX the number of grid columns gridSizeY the number of grid rows Transition Pixelate: duration the length of time a transistion takes to complete, format seconds.milliseconds (0.0000), a value of 0.5 is half a second maxSquare the maximum size in pixels of a pixelated square Transition RadialWipe: duration the length of time a transistion takes to complete, format seconds.milliseconds (0.0000), a value of 0.5 is half a second wipeStyle 'clock', sweep clockwise starting from 12 noon. 'wedge' Sweep from BOTH directions starting from 12 noon. 'radial' Sweep top to bottom with the center radial in the top left corner. To execute ANY transistions on an image, div, span or body you need to follow 3 steps
DHTML SourceReferences: MSDN - Spiral transition MSDN - Pixelate transition MSDN - RadialWipe transition |
|
contact us: elouai@gmail.com ©2003-2009 eLouai.com, All rights reserved |