Search and Top Navigation
#2848 closed enhancement (fixed)
Opened May 13, 2008 06:46AM UTC
Closed August 26, 2009 01:42AM UTC
Fixed positioning for dialogs
| Reported by: | hatapitk | Owned by: | scottgonzalez |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.8 |
| Component: | ui.dialog | Version: | 1.5b4 |
| Keywords: | dialog position fixed | Cc: | |
| Blocked by: | Blocking: |
Description
It would be nice to have an option to use fixed positioning for dialogs. This is useful for non-modal dialogs that should remain within viewport and be accessible even when page is scrolled.
Attachments (0)
Change History (8)
Changed May 24, 2008 07:34PM UTC by comment:1
| component: | ui.core → ui.dialog |
|---|---|
| owner: | paul |
| version: | → 1.5b4 |
Changed May 24, 2008 09:37PM UTC by comment:2
| owner: | → scott.gonzalez |
|---|---|
| status: | new → assigned |
Changed August 16, 2008 08:20PM UTC by comment:3
| milestone: | → 1.6 |
|---|
Changed August 19, 2008 01:49AM UTC by comment:4
Hey!
Yep it would be nice indeed :D -- so while its not implemented yet, this might be a simple solution:
#!js
$(document).ready(function() {
$('#myDialog').dialog({dialogClass: "flora"});
$('.flora.ui-dialog').css({position:"fixed"});
)};
works great for me
best regards, patrick
Changed August 19, 2008 05:03AM UTC by comment:5
Replying to [comment:4 patrick]:
works great for me
this works only if the dialogs wont be resized! sry didnt realise this first!
but this could also be handled with the stop-function which is called at the end of the resize-operation:
#!js
$(document).ready(function() {
$('#myDialog').dialog({dialogClass: "flora"});
$('.flora.ui-dialog').css({position:"fixed"});
$(".ui-resizable").stop(function() {
$(".flora.ui-dialog").css({position:"fixed"});
});
)};
Changed August 25, 2008 01:20PM UTC by comment:6
| milestone: | 1.6 → TBD |
|---|
Changed May 07, 2009 01:35PM UTC by comment:7
| milestone: | TBD → 1.next |
|---|