makeShadow Attribute | MakeShadow参数属性
| DHTML文档教程 |
Sets or retrieves the value that indicates whether content is displayed as a shadow.
dhtml语法
HTML | { filter:progid:dximagetransform.microsoft. blur( makeshadow = bshadow ... ) ... } |
---|
scripting | object. filters. item( "dximagetransform.microsoft. blur"). makeshadow [ = bshadow ] |
---|
dhtml可能的值
bShadow | Boolean that
specifies or receives Boolean. Returns one of the values in Possible 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.
DHTML代码范例
This example places a shadow under the content of a DIV object. The DIV object is duplicated. The first DIV object displays the shadow, while the second 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='../common/earglobe.gif' />
</DIV>
<DIV ID="oDiv" STYLE="position:absolute; left:70px; " >
An image - >
<IMG SRC='../common/earglobe.gif' />
</DIV>
Applies To
更多语法参考
pixelradius, scripting filters, Filter Design Considerations