admin管理员组文章数量:1414628
Does anyone know of any alternative jQuery plugins to the resizable function in jQuery UI? My main focus is on constraining the bounding box (parent), and the aspect ratio of the image.
Does anyone know of any alternative jQuery plugins to the resizable function in jQuery UI? My main focus is on constraining the bounding box (parent), and the aspect ratio of the image.
Share Improve this question asked Jul 31, 2009 at 5:22 mickyjtwinmickyjtwin 4,99013 gold badges60 silver badges77 bronze badges2 Answers
Reset to default 7You can use the CSS "resize" attribute. See this page: http://www.css3.info/preview/resize/
I don't know why you need an alternative if you can do that with jQuery UI resizable.
Here are some demos:
- preserve aspect ratio
- contrain resize area
- max/min size
All you need to do is just set your image CSS styles so that it resizes with the resizable box.
本文标签: javascriptAlternatives to jQuery UI ResizableStack Overflow
版权声明:本文标题:javascript - Alternatives to jQuery UI Resizable - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745151116a2644924.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论