Dukakus17
Dukakus17

Reputation: 1249

jquery popup positioning issue

enter image description here

How can I make the pop-up align just like the image below? The current code is as follows:

        $("#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();

Upvotes: 0

Views: 24

Answers (1)

Johan Pranata
Johan Pranata

Reputation: 317

how about you change my: "middle top" into my: "right top" and at: "middle bottom" into at: "right bottom".

here is the example.

Upvotes: 1

Related Questions