目前共有5篇帖子。 內容轉換:不轉換▼
 
點擊 回復
226 4
jQueryRotate seems to be able to rotate images.
一派護法 十九級
1樓 發表于:2014-10-2 09:37
If you're using jQuery, jQueryRotate is a small (less than 3Kb minified+gzipped) plugin that rotates images:
http://code.google.com/p/jqueryrotate/
一派護法 十九級
2樓 發表于:2014-10-2 09:38
一派護法 十九級
3樓 發表于:2014-10-2 09:42
ExamplesDocumentationThis is a small plugin for jQuery that adds a nice feature to rotate images (img html objects) by a given angle on web pages. An experimental version 3 tries to rotate all objects, but with some small issues. You can find 3rd version in here
Description:This is a simple plugin to allow you to rotate images (any angle) directly on client side (for ex. user generated content), and animate them using own functions. Main focus is to unify this behavior across different browsers.
Supported Browsers:

Internet Explorer 6.0 >
Firefox 2.0 >
Safari 3 >
Opera 9 >
Google Chrome Notices:Include script after including main jQuery. Whole plugin uses jQuery namespace and should be compatible with older version (unchecked).
Please put all issues into a ISSUES page. If you want - you can also checkout repository and path the code on your own. If you do that please send me patch so I can apply it into trunk.
Implementation:To support so many old browsers there are few techniques being used:


For modern browsers (Safari, Chrome, Opera, IE 9) plugin uses native CSS3 attributes (-ms-transform, -transform-property, -webkit-transform, -o-transform).
For older browsers with CANVAS support image is being replaced by a CANVAS component that can be easily rotated using internal canvas methods,
For older IE browsers VML is being used, Changelog
一派護法 十九級
4樓 發表于:2014-10-2 09:43
https://code.google.com/p/jqueryrotate/wiki/Examples
There are examples for the plugin.
一派護法 十九級
5樓 發表于:2014-10-2 09:47
That's just fine.

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
(快捷鍵:Ctrl+Enter)
 

本帖信息

點擊數:226 回複數:4
評論數: ?
作者:巨大八爪鱼
最後回復:巨大八爪鱼
最後回復時間:2014-10-2 09:47
 
©2010-2024 Arslanbar Ver2.0
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。