Transition Events (Windows CE 5.0)
The onfilterchange event is raised when the transition completes the action of applying an effect to an image.
For example, when the Fade transition completes, it raises onfilterchange.
Note Use this event to determine when the transition has completed.
The following example code shows how to use onfilterchange to apply the Pixelate transition repeatedly so that it appears as though the image is bouncing in and out in an endless loop.
<script>
function F_Change()
{
// Call the function to re-apply the effect.
window.setTimeout("fnToggle4()", 1);
}
</script>
<DIV ID="oDiv6" STYLE="position:absolute;top:410;left:310;height:300px; width:250px;
filter:progid:DXImageTransform.Microsoft.Pixelate( MaxSquare=20,
duration=1, Enabled=false);" onfilterchange="F_Change();">
</DIV>
See Also
Send Feedback on this topic to the authors