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 7 years, 4 months ago.
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?
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:
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.
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().
You must be logged in to reply to this topic.