Jquery dialog 기본 설정 가운데 정렬
특정 취치 지정
$( '<div id="layerPop' + noPopup + '"></div>' ).dialog(
{
width : noWidth
, height : noHeight
, title : loJson.dcTitle
, open : function()
{
$(this).html ( lsHtml );
$(this).css ( 'overflow' , 'hidden' );
$(this).parent().offset ( { top : noX , left : noY } );
}
, close : function ()
{
$(this).remove();
}
});
팝업 가운데 정렬
noX = parseInt ( ( window.screen.width / 2 ) - ( noWidth / 2 ) );
noY = parseInt ( ( window.screen.height / 2 ) - ( noHeight / 2 ) );