2017-06-16 120 views
0

enter image description herejquery弹出窗口定位问题

如何使弹出窗口像下图一样对齐? 当前的代码如下:

 $("#jobActionsPopup").dialog({ 
      dialogClass: "no-close", 
      position: { my: "middle top", at: "middle bottom", of: $("#jobActionsButton") }, 
      autoOpen: false, 
      draggable: true, 
     }).dialog("widget").find(".ui-dialog-titlebar").hide(); 

回答

1

你怎么样改变my: "middle top"my: "right top"at: "middle bottom"at: "right bottom"

这里是example