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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745151116a4613872.html
评论列表(0条)