Opened 12 years ago

Closed 12 years ago

#3182 closed enhancement (duplicate)

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});

Change History (1)

comment:1 Changed 12 years ago by Cloudream

Resolution: duplicate
Status: newclosed

duplicated #3181

Note: See TracTickets for help on using tickets.