center

The center method centers the window widget in the containing parent. If the window's parent element is the BODY, it will be centered in the browser's center.

This is demonstrated in the sample below:

<div id="window" />

<script type="text/javascript">
jQuery(function($) {
    var window = $("#window").shieldWindow({
        title: "Window Title"
    }).swidget();

    //this will center the window
    window.center();
});
</script>