Summary of Filters.revealTrans.Transition using method _javascript Skill

Source: Internet
Author: User
Tags visibility
Here's a first look at the usage of Revealtrans (which can be opened simultaneously when the mouse moves to the link, similar to the slide effect appears to be prompted to remove the same page consolidation).

Grammar:
Filter:progid:DXImageTransform.Microsoft.RevealTrans (enabled=benabled, Duration=fduration, transition= Itransitiontype)
Model: Reference Articles:
Property:
Enabled: Options available. A Boolean value (Boolean). Sets or retrieves whether the filter is active. true | False true: Default value. Filter activation.
False: Filters are prohibited.

Duration: Options available. Floating-point number (real). Sets or retrieves the time that the transformation took to complete. The value is in seconds. MS (0.0000) format.
You can set the duration of the conversion playback using the Iduration parameter of the play method. However, once you call the Play method, the Duration feature becomes read-only during playback duration.
Transition: Options available. Integer value (integer). Sets or retrieves the way in which the transformation is used. 0: Rectangular narrowing conversion.
1: Rectangular expansion conversion.
2: Circular contraction conversion.
3: Circular expansion conversion.
4: Wipe up.
5: Wipe down.
6: Erase right.
7: To erase apart.
8: longitudinal shutters converted.
9: Transverse blinds converted.
10: Chess chessboard transverse conversion.
11: Chess board longitudinal conversion.
12: Random clutter interference conversion.
13: Close closing effect conversion.
14: Left and right door effect conversion.
15: Upper and lower closing effect conversion.
16: Upper and lower door effect conversion.
17: Sawtooth Edge Overlay effect conversion from upper right to lower left corner.
18: From the lower right corner to the upper left corner of the sawtooth edge overlay effect conversion.
19: From the upper left to the bottom right corner of the sawtooth edge overlay effect conversion.
20: From the lower left to the upper right corner of the sawtooth edge overlay effect conversion.
21: Random horizontal line conversion.
22: Random Vertical line conversion.
23: Randomly use the above possible value conversion.


Characteristics:
Enabled: can read and write. A Boolean value (Boolean). See the Enabled property.
Duration: can read and write. Floating-point number (real). See Duration properties.
Transition: can read and write. Integer value (integer). See Transition properties.
Percent: can read and write. String. Sets or retrieves the point where the current static filter output is in the conversion process. The value range is 0-100. The default value is 0, and the conversion has not started. 100 for conversion complete.
This attribute can be used to establish a static filter effect using a transform filter. Sets its value equal to the point that defines the stop of the transformation process. To establish a static filter effect using the transform filter, follow these steps:
The Apply method that uses the transform filter. This captures the initial display of the object's content, setting the Percent attribute value to 0.
Change the content of the object. such as visibility, innertext, Background-color, Border, or the properties of its child objects.
Sets the Percent attribute of the conversion filter. That is, identify a point in the transformation process that you want. This captures a content image at that point in the transformation process.
Sets the Enabled attribute value of the transform filter to True. The filter Action object updates its contents based on the image that is acquired.
Note that you can only use the Visibility property to change the object's child objects. Otherwise, direct changes to the child object are immediately displayed without being captured by the transform filter.
Status: Read-only. Integer value (integer). Retrieves the current state of the transformation. 0 | 1 | 2 0: Conversion stop (stop).
1: Conversion is applied (apply).
2: Conversion in progress (play).


Method:
Apply: Captures the initial display of the object's content, making necessary preparations for the conversion. no return value.
When this method is invoked, any changes to the object's properties will not be displayed until you invoke the play method to begin the conversion.
Note that you can only use the Visibility property to change the object's child objects. Otherwise, direct changes to the child object are immediately displayed without being captured by the transform filter.
When you call the Play method, the transformation renders the result of the change in the content (the object's properties and the visibility property of the child object).
Play (Iduration): Start the conversion. no return value. The parameters are shown in the table below.
Iduration: Options available. Floating-point number (real). Specifies how long the filter action lasts. The default unit is seconds.
Sets the duration of the conversion playback using the Iduration parameter of the play method, whose value replaces the setting of the Duration property during the current cycle of the transformation. However, the next conversion restores the value set using the Duration property.

STOP: Stops converting playback. and renders the transformation result image. Also fires the onfilterchange event. no return value.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.