Skip to main content

Search and Top Navigation

#3182 closed enhancement (duplicate)

Opened August 13, 2008 09:33PM UTC

Closed August 13, 2008 10:02PM UTC

Centering a Modal dialog box

Reported by: Mark Studebaker Owned by: paul
Priority: major Milestone:
Component: ui.core Version: 1.5.2
Keywords: dialog center Cc:
Blocked by: Blocking:
Description

I'm displaying a dialog box centered. It works fine as long as I

don't scroll down on the web page. If I scroll down and clink my link to display the dialog, the browser scrolls back to the top and the dialog is display centered horizontally but not vertically. I would like the dialog box to display centered in the browser regardless of where on the page the user has scrolled.

$('#new_event_form').addClass('flora').dialog({

autoOpen: false,

height: 260,

width: 400,

modal: true,

center: true,

resizable: false});

Attachments (0)
Change History (1)

Changed August 13, 2008 10:02PM UTC by Cloudream comment:1

resolution: → duplicate
status: newclosed

duplicated #3181