0

我想draggable()在 jquery 1.9 上使用功能,使用后我无法移动和拖动窗口。我的例子是在JSFIDDLE

谢谢

4

1 回答 1

0

You do not need to set the z-indexin stack, as it will act as a selector and take it directly from the element (just be sure that the element has z-index)

$(".fenster").draggable({
    cancel: '.inhalt',
    containment: 'body',
    scroll: false,
    stack: '.fenster'
});

小提琴

于 2013-05-27T09:29:36.513 回答