Export (0) Print
Expand All

makeShadow Attribute | MakeShadow Property

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

Sets or retrieves the value that indicates whether content is displayed as a shadow.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.Blur(
    makeShadow = bShadow ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Blur").MakeShadow [ = bShadow ]

Possible Values

bShadow Boolean that specifies or receives Boolean. Returns one of the following values.
true
Display content as a shadow.
false
Default. Display content with normal RGB values.

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

Remarks

When the content is displayed as a shadow, its features are set to black, and then the blur filter is applied. Adjust the ShadowOpacity property to control the darkness of the shadow.

Example

This example places a shadow under the content of a DIV object. The DIV object is duplicated. The first DIV object displays the shadow, and the second DIV object is unfiltered.


    <DIV ID="oDiv" STYLE="position:absolute; left:70px; filter: 
            progid:DXImageTransform.Microsoft.blur(pixelradius=3.0, makeshadow='true', ShadowOpacity=1.0)" >
        An image - >    
        <IMG SRC='/workshop/graphics/earglobe.gif' />
    </DIV>
    <DIV ID="oDiv" STYLE="position:absolute; left:70px; " >
        An image - >    
        <IMG SRC='/workshop/graphics/earglobe.gif' />
    </DIV>




Applies To

Blur

See Also

Community Additions

ADD
Show:
© 2014 Microsoft