The latest jQuery UI has a position component:
$("#myDialog").position({
my: "center",
at: "center",
of: window
});
Doc: http://jqueryui.com/demos/position/
Get: http://jqueryui.com/download
More Related Contents:
- How to implement “confirmation” dialog in Jquery UI dialog?
- How to attach callback to jquery effect on dialog show?
- Apply CSS to jQuery Dialog Buttons
- Uncaught TypeError: Object [object Object] has no method ‘dialog’
- jQuery UI dialog box not positioned center screen
- jQuery UI DatePicker – Change Date Format
- Slide right to left?
- How to change the text of a button in jQuery?
- How to remove close button on the jQuery UI dialog?
- jQuery Sortable – Select and Drag Multiple List Items
- check / uncheck checkbox using jquery? [duplicate]
- How to set cache false for getJSON in jQuery?
- jQuery-UI is not working in my userscript without CSS, or with customization?
- jQuery draggable shows helper in wrong place after page scrolled
- How to get the selected date value while using Bootstrap Datepicker?
- jQuery UI dialog positioning
- Simple ASP.NET MVC CRUD views opening/closing in JavaScript UI dialog
- grouping draggable objects with jquery-ui draggable
- jQuery UI: How to change the color of a ProgressBar?
- how to add a day to a date using jquery datepicker
- problem when cloning jQuery UI datepicker
- Close jQuery UI Dialog from Iframe
- Jquery Date picker Default Date
- How can I add jquery ui autocomplete to a dynamically created element?
- Angular4 can’t find Jquery-UI functions
- How can I disable a button in a jQuery dialog from a function?
- jQuery UI Slider (setting programmatically)
- Problems with jQuery autocomplete + AngularJS
- jQuery autohide element after 5 seconds
- How can I extend jQueryUI datepicker to accept an additional argument?