Partager via


enabled Attribute | Enabled Property

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9.

Sets or retrieves a value that indicates whether the filter is enabled.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.filter-name(
    enabled = bEnabled ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.filter-name").Enabled [ = bEnabled ]

Possible Values

bEnabled Boolean that specifies or receives one of the following values.
true
Default. Filter is enabled.
false
Filter is disabled.

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

Example

This example uses the Enabled property to change the orientation of an image when the user moves the mouse pointer across one of the image's borders.

<IMG ID="image1" SRC="/workshop/graphics/earglobe.gif" 
   onmouseover="image1.filters.flipv.enabled = false;"
   onmouseout ="image1.filters.flipv.enabled = true;"
   STYLE="filter:progid:DXImageTransform.Microsoft.MotionBlur(STRENGTH=50) flipv()">

Applies To

Alpha, AlphaImageLoader, Barn, BasicImage, Blinds, Blur, MotionBlur, BlendTrans, Chroma, DropShadow, Emboss, Engrave, Fade, FlipH, FlipV, Glow, Gradient, GradientWipe, Gray, Inset, Iris, Invert, Light, MaskFilter, Matrix, Pixelate, RadialWipe, RandomBars, RandomDissolve, Redirect, RevealTrans, Shadow, Slide, Spiral, Stretch, Strips, Wave, Wheel, Xray, Zigzag