日期:2014-05-17  浏览次数:20660 次

图片旋转90度的功能怎么实现!!
DIV图片显示时  
水平反转   是filter:FlipH
垂直反转是:filter:Flipv


请问   旋转90度   该是哪一个   有人知道吗

------解决方案--------------------
Scripting object.filters.item(
"DXImageTransform.Microsoft.BasicImage ").Rotation [ = iRotation ]

Possible Values

iRotation Integer that specifies or receives one of the following values: 0 Default. Content is not rotated.
1 Content is rotated 90 degrees.
2 Content is rotated 180 degrees.
3 Content is rotated 270 degrees.

<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(rotation=1) ' ">
Rotate 270 degrees </BUTTON> <BR/>
<BUTTON onclick= "oDiv.style.filter= ' ' "> Clear Filter </BUTTON> <BR/>

------解决方案--------------------
缩略图水印组件wsImage3.5 图片水印也支持透明度。支持图片任意角度旋转。
------解决方案--------------------
真强……使用的是一个js的外部的库?