1

jQuery Resizable 插件很棒,但它只会改变 resizable 的边缘和角落周围的光标div。But I need the corners of the divto also have the real square (or round) handles that show up in other editing programs, such as photoshop, when an object is selected for resizing. 在角上添加把手的最快、最稳定和最简单的方法是div什么?我需要 IE 兼容性(至少来自 IE-8)。

4

1 回答 1

2

如果您需要在 div 的各个角落添加句柄,请使用句柄选项。

$('.selector').resizable({handles: 'n, e, s, w, ne, se, sw, nw'});

http://api.jqueryui.com/resizable/#option-handles

于 2013-02-06T13:44:53.023 回答