最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Percent Property

Internet Development Index

Sets or retrieves the point in a transition at which to capture the display for a static filter output.

Syntax

HTML
N/A
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.filter-name").Percent [ = iPercent ]

Possible Values

iPercentString that specifies or receives the progress of the transition, which can range from 0 to 100 percent complete.
0Default. Transition has not started.
100Transition is complete.

The property is read/write. The property has a default value of 0.

Remarks

The Percent property uses a transition to create a static filter. The value iPercent defines the point at which to stop the transition. To create the a static filter with a transition, follow these steps:

  1. Use the transition's apply method. This captures the initial content of the object, and sets the Percent property to zero.
  2. Change the object's content. You can change properties of the object: visibility, innerText, backgroundColor, border, or the properties of its child elements.
  3. Set the transition's Percent property. Choose the percent you want the transition to progress and assign that value to iPercent . This captures an image of the content in midtransition.
  4. Set the Enabled property of the transition to true. The content of the object updates to the captured image.

Note  You must use the visibility property to change child elements; otherwise, changes to child element properties are immediate, and not captured by the transition.

Example

This example uses the CheckerBoard transition to create a DIV object with a checkerboard appearance.

<SCRIPT>
function fnSetChecker() {
oDiv.filters[0].Apply();
// After setting Apply, changes to the oDiv object
//  are not displayed until Play is called.
oDiv.style.backgroundColor="blue";
oDiv.filters[0].percent=50;
oDiv.filters[0].enabled=true;
}
</SCRIPT>
<BUTTON onclick="fnSetChecker(); onclick=''">Get Checked Display</BUTTON><BR/><BR/>
<DIV ID="oDiv" STYLE="height:250px; width:250px; background-color: gold;
filter:progid:DXImageTransform.Microsoft.checkerboard(
,duration=5, transition=7);">
</DIV>

Applies To

BlendTrans, RevealTrans, Barn, Blinds, Fade, GradientWipe, Inset, Iris, Pixelate, RadialWipe, RandomBars, RandomDissolve, Slide, Spiral, Stretch, Strips, Wheel, Zigzag

See Also

play, Duration, stop
辽宁省| 秦安县| 大余县| 星子县| 泾源县| 抚顺市| 奉贤区| 嫩江县| 张家川| 墨江| 贡嘎县| 工布江达县| 平山县| 岚皋县| 洞口县| 岢岚县| 彭山县| 介休市| 新乡市| 额敏县| 固阳县| 靖安县| 赤水市| 遵化市| 潼关县| 和龙市| 察哈| 建德市| 北安市| 芒康县| 石泉县| 连江县| 瑞安市| 荣昌县| 望谟县| 即墨市| 聊城市| 湖口县| 土默特左旗| 苗栗县| 团风县|