开发者

jQuery resizable plugin

开发者 https://www.devze.com 2023-01-30 20:29 出处:网络
Can I specify width and height via options or something rather than dragging the handlers? (The matter is I want to use a开发者_如何学ClsoResize option.)Being appropriately designed, the plugin doesn\

Can I specify width and height via options or something rather than dragging the handlers? (The matter is I want to use a开发者_如何学ClsoResize option.)


Being appropriately designed, the plugin doesn't mess with, or gets messed up by, core jQuery/css behaviour.

You can do any of the below:

$("#resizable").width(100);
$("#resizable").height(100);
$("#resizable").css({width: 100, height: 100});
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号