See the details of changes here. To download the files, click here.
$('<div id="demo1">').load('pag1.html').dialog({
maximize: false, // not maximizable
modal:true,
overlay:{background:'#000000', opacity:0.4}
});
$('<div id="demo2">').load('pag1.html').dialog({
title: 'I\'m the demo 2!', closable: false, width: 350, height: 200, maximize: false,
buttons: {
'Close': function(){
$(this).dialog('close')
}
}
});
$('#demo3').dialog('destroy').remove();
$('<div id="demo3">').load('pag1.html').dialog({
title: 'I\'m the demo 3!', width: 450, height: 220
});