jquery UI位置未正确定位
我正在使用jQueryUI位置函数将下拉框置于按钮下方的中心位置。它的位置不正确。这是一个例子jquery UI位置未正确定位,jquery,jquery-ui,Jquery,Jquery Ui,我正在使用jQueryUI位置函数将下拉框置于按钮下方的中心位置。它的位置不正确。这是一个例子 我正在使用谷歌CDN最新的jQuery和jQuery UI库。您刚刚切换了水平和垂直定位值 $(".dropDown .dialogueBox").position({ my: "center top", at: "center bottom", of: $('.dropDown .drop-button'), collisio
我正在使用谷歌CDN最新的jQuery和jQuery UI库。您刚刚切换了水平和垂直定位值
$(".dropDown .dialogueBox").position({
my: "center top",
at: "center bottom",
of: $('.dropDown .drop-button'),
collision: "flip"
});
这把小提琴的工作原理是:
$(".dropDown .dialogueBox").position({
my: "center top",
at: "center bottom",
of: $('.dropDown .drop-button'),
collision: "flip"
});