- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
有没有办法在 jQuery UI 中设置多个 alsoResizes?
$('.selector').resizable({ alsoResize: '.other' });
我想设置几个其他元素也可以调整大小,而不仅仅是一个。官方文档什么也没说。
最佳答案
尝试
$('.selector').resizable({ alsoResize: '.other,.another,.andmanymore' });
关于javascript - jQuery resizable() 和多个 alsoResizes?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2483676/
有没有办法在 jQuery UI 中设置多个 alsoResizes? $('.selector').resizable({ alsoResize: '.other' }); 我想设置几个其他元素也可
好吧,我没有使用“alsoResize”,但我已经测试过,它的行为是相同的。 当您调整主元素的大小时,底部元素“选取框”的黑色边框通常会与顶部元素的白色虚线边框偏离。 $(".layer").resi
当使用 jQueryUI .resizable() 函数时,我试图使 DOM 中的下一个元素也被调整大小。我可以将 jQuery 选择器,甚至带有类或 ID 的字符串传递给 alsoResize 方法
我有弹出窗口,可以拖动和调整大小。一切都很好,除了我需要调整大小窗口来调整其中的 div 大小。这很容易通过设置 alsoResize: 'selector' 来实现,但是,这个窗口的每个实例都有相同
In this plunk我有两个 div,橙色 div 可以调整大小,并且可以选择 alsoResize 来调整蓝色 div 的大小。 如果通过拖动橙色 div 的右侧或底部来调整大小,效果很好。但
我的目标应该很明显: 我有两个彼此相邻(左和右)的矩形面板(div)。我想捕获两者之间的边界,将左面板向东扩展,使其右边缘向东移动,而右面板的左边缘也向东移动,反之亦然。这是许多应用程序 UI 中的常
我有这样的DIV结构 我使用这个 jqueryUi 制作了“外部”div resizable() $("#outer").resizable({ con
我有一组这样的 div: 我也有这个功能: $(function() { $("#top_body").resizable({handles:
我有一个可调整大小的 div,它位于已设置为 alsoResize 的一系列元素之上。 在视觉上,可调整大小的元素是 alsoResize 元素的边界框。 我希望能够根据可调整大小的 div 的比例调
我是一名优秀的程序员,十分优秀!