1 ,窗口 :
$('#tan01').window({
// 窗口大小
width: 600,
height: 400,
// 背景不能点
modal: true,
// 标题
title:"请王婷婷阅读以下内容",
// 内容
content:"老婆我爱你哦",
// 是否可以拖动
draggable:false,
// 是否可以改变你大小
resizable:false,
// 居中显示
center:true
});
<div id="tan01"></div>
2 ,关闭窗口 :
$('#tan01').window("close")
3 ,打开窗口 :
$('#tan01').window("open")