本文实例讲述了jQuery插件EasyUI实现Layout框架页面中弹出窗体到最顶层效果。分享给大家供大家参考,具体如下:
function openTopWindow(url, title, width, height) {
title = title == undefined ? ' ' : title;
width = width == undefined ? 800 : width;
height = height == undefined ? 300 : height;
if (url != undefined) {
var content = '';
parent.$('#openWindow').window({
title: title,
width: width,
height: height,
content: content,
modal: true,
animate: true,
minimizable: false
});
}
}
接下来需要在Layout主页面放置一个div区域即可:
希望本文所述对大家jQuery程序设计有所帮助。