HBCMS更多的中文手册参考:

strength Attribute | Strength参数属性

DHTML文档教程

Sets or retrieves the distance, in pixels, that a filter effect extends.

dhtml语法

HTML
{ filter:progid:dximagetransform.microsoft.filter-name(
    strength = idistance ... ) ... }
scripting
object.filters.item(
    "dximagetransform.microsoft.filter-name").strength [ = idistance ]

dhtml可能的值

iDistanceInteger that specifies or receives the distance, in pixels, that an effect extends.
5Default.

The property is read/write. The property has a default value of 5 for all objects with the following exceptions:
wave1
shadow1

remarks

the following table defines the limitations on the range of iDistance depending on the filter used.
FilterAllowable Range
motionblurzero or greater
glowone to 255
shadowone to 255
waveone or greater

DHTML代码范例

This example sets the Strength and direction properties of the motionblur filter to an initial strength of 1. when the page loads, the strength and direction properties cause the onfilterchange event to fire repeatedly until the strength reaches 200.

<SCRIPT>
function HandleChange()
{
with (window.event.srcElement.filters[0])
{
if (strength < 200)
{
strength += 1;
direction += 45;
}
}
}</SCRIPT>
<IMG ID="img1" SRC="solarsys.gif" onfilterchange="HandleChange()"
STYLE="filter:progid:DXImageTransform.Microsoft.motionBlur(STRENGTH=1, DIRECTION=0)" />
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

applies to

MotionBlur, Glow, Wave, Shadow