87,989
社区成员
发帖
与我相关
我的任务
分享
function openPopUp(url, height, width, title, paramClosing) {
width = parseInt(width);
height = parseInt(height);
var horizontalPadding = 30;
var verticalPadding = 30;
$('<iframe id="cdt_shadowbox" src="' + url + '" frameBorder="0"/>').dialog({
title: (title) ? title : 'CDT Shadowbox',
autoOpen: true,
width: width,
height: height,
modal: true,
resizable: true,
autoResize: false,
closeOnEscape: false,
closable: true,
position: {
my: "center",
at: "center",
of: window
},
overlay: {
opacity: 0.5,
background: "black"
},
close: function (event, ui) {
if (paramClosing instanceof Array) {
if (paramClosing[0] == 'HEADER')
OnClosingHeader(paramClosing);
else
OnClosing(paramClosing);
} else
OnClosing(paramClosing);
}
})

buttons: {
"Delete all items": function() {
$( this ).dialog( "close" );
},
Cancel: function() {
$( this ).dialog( "close" );
}
}
在close评级