Sets or retrieves the value that indicates whether the content display is reversed.
dhtml语法
HTML | { filter:progid:dximagetransform.microsoft. basicimage( mirror = bmirror ... ) ... } |
---|
scripting | |
---|
dhtml可能的值
bMirror | Boolean that
specifies or receives one of the following values: 1 | Reverse the content. | 0 | Default. Display the content normally. |
|
The property is read/write.
The property has a default value of
0.
DHTML代码范例
This sample sets the BasicImage filter to vertically mirror the content of a DIV element.
<!-- This DIV is the target container for an image. -->
<DIV ID="oDiv" STYLE="position:absolute; left:270px;" >
An Image - >
<IMG SRC='../common/earglobe.gif' />
</DIV>
<BUTTON onclick="oDiv.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(mirror=1)'">
Rotate 270 degrees</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=''">Clear Filter</BUTTON><BR/>
Applies To