You are here:   Home > Scripts > Javascript Image Transitions, Wheel, blind, eye
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 Transitions 1: Wheel, Blind and Iris



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.

Transition Wheels:
duration the length of time a transistion takes to complete, format seconds.milliseconds (0.0000), a value of 0.5 is half a second
spokes the number of wedges the content is divided into

Transition Blinds:
duration the length of time a transistion takes to complete, format seconds.milliseconds (0.0000), a value of 0.5 is half a second
direction sets the direction of motion for the transition. Possible values: up, down, right, left
bands Number of strips the content is divided into

Transition Iris:
duration the length of time a transistion takes to complete, format seconds.milliseconds (0.0000), a value of 0.5 is half a second
irisStyle can be either square or circle
motion reveal from the outside (out) or inside first (in)


To execute ANY transistions on an image, div, span or body you need to follow 3 steps
  • set object filter to 'Apply()'
  • set new image, visibilty, color
  • set object filter to 'Play()'

applied to DIV applied to IMG





DHTML Source



References:
MSDN - Wheel transition
MSDN - Blinds transition
MSDN - Iris transition




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