DHTML slide show program (2)
Author:Eve Cole
Update Time:2009-06-20 17:00:37
Dynamic conversion filter attributes, methods and event attribute names Description Value
duration is the delay time for image conversion. The minimum unit is milliseconds, which is the third decimal place. The unit is seconds and the value is a natural number.
enabled specifies whether to apply the filter effect. 0 means not to apply it, non-0 means to use it.
staus returns a conversion status 0 means the conversion is stopped
1 means display the applied transformation filter
2 means conversion is in progress
Method name Description
Apply applies the filter to the object
Play to start conversion
Stop Stop conversion
Event name description
OnFilterChange Event triggered when the filter transition changes or the filter is completed
I didn’t explain too much about how the CSS conversion filter above is called by JavaScripts. I just listed its properties, methods and events. Later, when we use JavaScript to control it, I will tell you how to use JavaScripts to make it work. Of course, these filters can only be viewed in IE4.0 and are not supported by NetScape. However, this does not affect the display in Netscape, but the image conversion effect will not appear in Netscape.