jQuery UI Widgets Forums Dialogs and Notifications Window position: fixed in jqxWindow

This topic contains 3 replies, has 2 voices, and was last updated by  Hristo 8 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • position: fixed in jqxWindow #86121

    74bit
    Participant

    Hello,

    is it possible to have a fixed-Container inside of a jqxWindow (e.g. always at the top) which moves with the window, but will stay there when the window is scrolled?

    Thanks,
    74bit

    position: fixed in jqxWindow #86123

    Hristo
    Participant

    Hello 74bit,

    I am not sure I understand you correctly.
    It is possible to use header div tag to collect some other element in.
    On that way when window is collapsed or expanded again there are always stay that container.
    Like the image in (icon in the header) this example below:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxwindow/defaultfunctionality.htm?light

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    position: fixed in jqxWindow #86125

    74bit
    Participant

    I have a jqxwindow with a large formular, larger than the window so there will be scrollbars.

    I want to have the save-button always visible (on top, or on bottom)

    On a normal page I would solve this with CSS position:fixed, so the save-container stays on the same position and is always visible regardless of where the user scrolls to.

    But in the jqxwindow I cannot use this, because the window might move or open at a different position.

    position: fixed in jqxWindow #86161

    Hristo
    Participant

    Hello 74bit,

    You could try to use property position from the jqxWindow. Thus, you could set desirable position.
    Also if you want could get offset position of the window on that way – $('#jqxwindow').offset().

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.