开发者

jQuery resizable plugin

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜