1. 程式人生 > >lhgdialog彈出視窗再彈出一級視窗時,二級視窗在一級視窗下面,如何讓他到一級視窗上面?

lhgdialog彈出視窗再彈出一級視窗時,二級視窗在一級視窗下面,如何讓他到一級視窗上面?

一級視窗頁面就不給大家提供了,二級視窗頁面如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="${context_path}/resources/admin/css/Base.css"
rel="stylesheet" type="text/css" />
<link href="${context_path}/resources/admin/css/Right.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="${context_path}/resources/admin/js/jquery.js"></script> <script type="text/javascript" src="${context_path}/resources/admin/js/jquery-1.8.3.min.js"
>
</script> <script type="text/javascript" src="${context_path}/resources/admin/js/lhgcore.lhgdialog.min.js"></script> <script type="text/javascript"> function openDialog(){ var windowapi = frameElement==null?window.top:frameElement.api, W = windowapi==null
?window.top:windowapi.opener;var zIndex = W==null?1976:W.$.dialog.setting.zIndex+1; $.dialog({ title:title, width: width, height:height, zIndex:zIndex, max:false, min:false, content: 'url:'+url, }); }
</script> </head> <body> </div> <div class="CHYI_Rnav"> <div class="CHYI_RRibbon"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td> <a style="margin-right: 30px" onclick="openDialog('${context_path}/lpt/xx/reply','回覆訊息',600,300)">回覆</a> </td> </tr> </#list> </tbody> </table> </div> </div> </body> </html>

效果圖:
這裡寫圖片描述