javascript - Alternatives to jQuery UI Resizable - Stack Overflow

Does anyone know of any alternative jQuery plugins to the resizable function in jQuery UI? My main focu

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 badges
Add a ment  | 

2 Answers 2

Reset to default 7

You 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

相关推荐

  • javascript - Alternatives to jQuery UI Resizable - Stack Overflow

    Does anyone know of any alternative jQuery plugins to the resizable function in jQuery UI? My main focu

    3小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信