jQuery UI Widgets Forums Dialogs and Notifications Window Multiple window positioning

This topic contains 2 replies, has 2 voices, and was last updated by  jozomali 4 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Multiple window positioning #113272

    jozomali
    Participant

    I am trying to position several windows relative to each other. Main window is positioned along the right border, and I would like to have a smaller window aligned with it on the right (or below). Basically, something like JqueryUI

    $('#window2').position({
      my: "right top",
      at: "left top",
      of: "#window1"
    });

    Is this possible?

    Thank you

    Multiple window positioning #113276

    Hristo
    Participant

    Hello jozomali,

    With the position property of the jqxWindow, you could determinate precisely the coordinates where the window appears.
    Please, take a look at this example.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    Multiple window positioning #113277

    jozomali
    Participant

    Thank you. I am aware of the position property, but it is limited to x and y only. I assume I have to do all calculations manually. My windows don’t have fixed width, so to align them, I have to use the offsets together with the widths/heights.

    Thanks anyway.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.