0

我想知道为什么下面的代码不起作用?

http://jsfiddle.net/zfY9S/

谢谢..

4

2 回答 2

3

尝试包括一个 jQueryUI 样式表。或者,您可能能够摆脱定义以下 CSS 类:

.ui-resizable-handle {
    display: block;
    font-size: 0.1px;
    position: absolute;
    z-index: 99999;
}
.ui-resizable-s {
    bottom: -5px;
    cursor: s-resize;
    height: 7px;
    left: 0;
    width: 100%;
}
.ui-resizable {
    position: relative;
}
.ui-resizable-e {
    cursor: e-resize;
    height: 100%;
    right: -5px;
    top: 0;
    width: 7px;
}
.ui-resizable-s {
    bottom: -5px;
    cursor: s-resize;
    height: 7px;
    left: 0;
    width: 100%;
}
.ui-resizable-se {
    bottom: 1px;
    cursor: se-resize;
    height: 12px;
    right: 1px;
    width: 12px;
}

更新示例:http: //jsfiddle.net/PUBrS/

于 2011-08-07T18:40:52.857 回答
1

添加资源 -> 添加 UI

http://jsfiddle.net/5tQAd/

于 2011-08-07T18:42:57.270 回答