$(function() {
/* $('#dd2').dialog({
title : 'My Dialog',
width : 400,
height : 200,
closed : false,
cache : false,
collapsible:true,
minimizable:true,
maximizable:true,
resizable:true,
modal : true
}); */
/* 并调用'refresh'方法通过ajax读取url:"new_content.php"的内容 ,若获取不到,则一直显示loading圆图标-->
$('#dd').dialog('refresh', 'new_content.php'); */
/* 对话框与面板非常相似,比如获取内容 */
/* $('#p').panel({
href:'content_url.php',
onLoad:function(){
alert('loaded successfully');
}
}); */
/* $('#w').window({
title:'我的窗口',
width:700,
height:200,
iconCls:'icon-add',
tools:'#tt',
footer:'#footer',
modal:true
}); */
});
The window content.