无法调整 jQuery UI 的大小
我确信我错过了一些非常明显的东西(现在已经很晚了)。
我已经设置了一个测试页面,其中包含可调整大小的 jQuery UI 的基本实现。为什么它不起作用并允许元素调整大小?
I'm sure I'm missing something really obvious (it's late in the day).
I've set up a test page with a really basic implementation of jQuery UI resizable. Why isn't it working and allowing the elements to be resizable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在我看来,CSS 存在一些问题,并且您用来调整大小的句柄甚至不可见(它没有宽度和高度)。以下是对示例的简单编辑:
http://jsfiddle.net/UA3QS/2/
Seems to me that there's just some problems with the CSS, and the handle which you'd use to resize isn't even visible (it has no width and height). Here's a simple edit of your example that works:
http://jsfiddle.net/UA3QS/2/
这似乎是 jQuery Ui 1.8.4 的问题,
jQuery ui 的演示页面正在运行 1.8.3,我刚刚做了一个快速的本地测试,它工作正常,我本地有 1.8.3。
或者 jsFiddle 坏了...
这是一个也坏了的例子,没有 CSS 来打破它。
http://jsfiddle.net/PAsgQ/2/
It seems to be a problem with jQuery Ui 1.8.4
the demo pages for jQuery ui are running 1.8.3 and i just did a quick local test and it worked fine and i have 1.8.3 locally.
or jsFiddle is broken...
here's an example that is also broken that has no CSS to break it.
http://jsfiddle.net/PAsgQ/2/