Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

Rotating on Photo

I would like to do a search link, the photo on page Lane clockwise rotation of 30 degrees.
Do not want to use the flash and do not know whether it was achievable.

Mu margin can be achieved using a flashvml

Topic + Javascript can achieve?

Not so seemingly not filter

[size=5][color=#FF0000][b] Posted a [/b]
It rained code from the manual : css2.0 downstairs -- the kind words -- ah please give drizzle, light rain, the sun is my idols-his heart. . . . . .
[/color][/size]

[html]
"Html xmlns:rdl>
"Head are
"Meta http-equiv=" Content-Type "content=" text/html; charset=gb2312 ""
"Title>Rainer 's Handbook</title>
"Style>
Body{margin:0px;padding:16px;background:#FFFFFF;overflow:auto;}
Body, table, input, select, textarea, a{font-family:verdana, tahoma, arial;font-size:11px;color:#000000;word-break : break-all;}
Table, img{border:0px;}
A{text-decoration:none;color:#003399;}
A:hover{color:#000000;text-decoration:underline;}
#id_div3{padding-top:8px;border-top:1px Solid #000000;line-height:15px;}
#id_span3{font-size:10px;font-family:tahoma;}
"/style>
"Style>
#idParentDiv{width:100%;overflow-y:scroll;padding:6px;height:180px;background-color:buttonshadow;color:#FFFFFF;}
#idDiv{width:290px;text-align:left;padding:6px;background-color:#000000;font-family:tahoma, Arial;filter:progid : DXImageTransform.Microsoft.Matrix (M11=1.0, sizingmethod= "auto expand") ;}
#idCodeDiv{width:100%;padding:4px;font-family:verdana, Tahoma;margin:12px 0px 0px 0px;background-color:#EEEEEE; font-weight:bold;}
"/style>

"Script>
Var sFilter= "filter : progid:DXImageTransform.Microsoft.Matrix (";
Var fM11, fM12, fM21, fM22, fDx, fDy, sType, sMethod;
Var oDiv, oCodeDiv, oTxtRotation, oBtnRotation;
Var i=0;

Function rdl_SetRotation (deg) (
Var deg2rad=Math.PI*2/360;
Rad=deg*deg2rad;
Costheta = Math.cos (rad);
Sintheta = Math.sin (rad);
With (oDiv.filters.item (0)) (
M11=costheta;M12=-sintheta;M21=sintheta;M22=costheta;
}
Rdl_UpdateMatrix ();
}

Rdl_DoAnimation function () (
ODiv.onfilterchange=rdl_DoAnimation;
I+=5;
If (i>359) (
I=0;
ODiv.onfilterchange=null;
}
Rdl_SetRotation (i);
}

Rdl_UpdateMatrix function () (
With (oDiv.filters.item (0)) (
FM11=Math.round (M11*10) /10;fM12=Math.round (M12*10) /10;fM21=Math.round (M21*10) /10;fM22=Math.round (M22*10) /10;
FDx=Math.round (Dx*10) /10;fDy=Math.round (Dy*10) /10;sType=FilterType;sMethod=SizingMethod;
}
OCodeDiv.innerText=sFilter+ "SizingMethod=" +sMethod+ "FilterType=" +sType+ "Dx=" +fDx+ "Dy=" +fDy+ "M11=" +fM11+ " M12= "+fM12+" M21= "+fM21+" M22= "+fM22+"); "
}

Rdl_Load function (e) (
ODiv=document.all ( "idDiv");
OCodeDiv=document.all ( "idCodeDiv");
OTxtRotation=document.all ( "idTxtRotation");
OBtnRotation=document.all ( "idBtnRotation");
Var oSelType=document.all ( "idSelType");
Var oSelSize=document.all ( "idSelSize");
OSelType.onchange=new Function ( "with (this) oDiv.filters.item (0). Filtertype=options (selectedIndex). Value; rdl_UpdateMatrix (); ");
OSelSize.onchange=new Function ( "with (this) oDiv.filters.item (0). SizingMethod=options (selectedIndex). Value; rdl_UpdateMatrix (); ");
OTxtRotation.onclick=new Function ( "if (this.value.length>4) this.value=0;");
OBtnRotation.onclick=new Function ( "rdl_SetRotation (oTxtRotation.value); ");
Rdl_UpdateMatrix ();
}

Rdl_DoHFlip function (e) (
With (oDiv.filters.item (0)) {M11=0-M11;M12=0-M12;}
Rdl_UpdateMatrix ();
}

Rdl_DoVFlip function (e) (
With (oDiv.filters.item (0)) {M21=0-M21;M22=0-M22;}
Rdl_UpdateMatrix ();
}

Window.onload=rdl_Load;
"/script>

"/head>
"Body>
"Assume id=idParentDiv><div id=idDiv>
"<img Defended the" http : //www.blueidea.com/articleimg/bbsimg/topic5.gif "save" right "and" <h2 "Matrix Filter</h2><b>Written by Rain1977.<br>All rights reserved. Terms of Use. "/b>
"/div></div>

"Organization Department Holds Press Conference
"Table><tr>
"Td><input type=button value= around reversal onclick=" rdl_DoHFlip (); "" <input Type=button value= "from top to bottom inversion" onclick= "rdl_DoVFlip (); "" </td>
"Td" <input type=text value= id=idTxtRotation "digital input point" size=14></input> "input id=idBtnRotation type=button value=" Rotation "and" </td>
"Td" <select id=idSelSize><option value= "auto expand," and "auto expand</option><option value=" inclination to original "and" inclination to original</option></select></td>
"Td" <select id=idSelType><option value= "bilinear" "Bilinear</option><option value=" nearest "" Nearest Neighbour</option></select></td>
"Td><input type=button value=" animation "onclick=" rdl_DoAnimation (); "" </td>
"/tr></table>
"Organization Department Holds Press Conference
"Assume id=idCodeDiv>filter</div>

"School Official Cites Use of the" School Official Cites Use of the "Organization Department Holds Press Conference
"Assume id=id_div3> Su works and all the" br><span id=id_span3> c 2002 Rainer Su. All rights reserved. "/span></div>
"/body>
"/html>
[/html]

Strong upstairs

I feel awesome!

Serious!

Here's the first person to give me a surprise.
We want to know what you are doing drops




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com