次の方法で共有


Transition Events (Windows Embedded CE 6.0)

1/6/2010

The onfilterchange event is raised when the transition finishes the action of applying an effect to an image.

For example, when the Fade transition has finished running, it raises onfilterchange.

Note

Use this event to determine when the transition has finished.

The following example code shows how to use onfilterchange to apply the Pixelate transition repeatedly so that it displays as if the image is bouncing in and out in an endless loop.

<script>
function F_Change()
{
  // Call the function to reapply 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

Reference

Adding Transitions

Concepts

Adding Filters and Transitions