欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

lhgdialog弹出窗口再弹出一级窗口时,二级窗口在一级窗口下面,如何让他到一级窗口上面?

程序员文章站 2022-05-16 14:34:45
...

一级窗口页面就不给大家提供了,二级窗口页面如下:

<!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>

效果图:
lhgdialog弹出窗口再弹出一级窗口时,二级窗口在一级窗口下面,如何让他到一级窗口上面?

相关标签: dialog