<i id='zHQiB'><tr id='zHQiB'><dt id='zHQiB'><q id='zHQiB'><span id='zHQiB'><b id='zHQiB'><form id='zHQiB'><ins id='zHQiB'></ins><ul id='zHQiB'></ul><sub id='zHQiB'></sub></form><legend id='zHQiB'></legend><bdo id='zHQiB'><pre id='zHQiB'><center id='zHQiB'></center></pre></bdo></b><th id='zHQiB'></th></span></q></dt></tr></i><div id='zHQiB'><tfoot id='zHQiB'></tfoot><dl id='zHQiB'><fieldset id='zHQiB'></fieldset></dl></div>

      1. <small id='zHQiB'></small><noframes id='zHQiB'>

          <bdo id='zHQiB'></bdo><ul id='zHQiB'></ul>
        <legend id='zHQiB'><style id='zHQiB'><dir id='zHQiB'><q id='zHQiB'></q></dir></style></legend>
      2. <tfoot id='zHQiB'></tfoot>

        将 div 显示为模态弹出窗口

        Show a div as a modal pop up(将 div 显示为模态弹出窗口)

          • <tfoot id='jIkTU'></tfoot>
              <tbody id='jIkTU'></tbody>
            <legend id='jIkTU'><style id='jIkTU'><dir id='jIkTU'><q id='jIkTU'></q></dir></style></legend>

            <i id='jIkTU'><tr id='jIkTU'><dt id='jIkTU'><q id='jIkTU'><span id='jIkTU'><b id='jIkTU'><form id='jIkTU'><ins id='jIkTU'></ins><ul id='jIkTU'></ul><sub id='jIkTU'></sub></form><legend id='jIkTU'></legend><bdo id='jIkTU'><pre id='jIkTU'><center id='jIkTU'></center></pre></bdo></b><th id='jIkTU'></th></span></q></dt></tr></i><div id='jIkTU'><tfoot id='jIkTU'></tfoot><dl id='jIkTU'><fieldset id='jIkTU'></fieldset></dl></div>
              <bdo id='jIkTU'></bdo><ul id='jIkTU'></ul>

                  <small id='jIkTU'></small><noframes id='jIkTU'>

                  本文介绍了将 div 显示为模态弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有以下 div:

                  <div id="divAlert">
                      <div id='divAlertText'>You must select a language.</div>
                      <div id='divAlertButton' class='btn blue' onclick="HideAlert();">Ok</div>
                  </div>
                  

                  这个 HTML 页面是否有更多的 div 和按钮.我想将 divAlert 显示为模式弹出窗口.

                  Is this HTML page there are more divs and buttons. I want to show divAlert as a modal pop up.

                  我知道在 jQuery 中有一些东西,我想,我可以用它来显示我的 div,用一个半透明的黑色背景填充整个页面.但我不记得它的名字了.

                  I know there is something in jQuery, I think, that I can use to show my div with a half transparent black background filling the entire page. But I can't remember its name.

                  有什么建议吗?

                  推荐答案

                  你可以使用jquery对话框小部件

                  you can use jquery dialog widget

                  http://jqueryui.com/demos/dialog/

                  这篇关于将 div 显示为模态弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to test html links with protractor?(如何用量角器测试 html 链接?)
                  Understanding protractor#39;s use of promises(了解量角器对 Promise 的使用)
                  protractor unknown error, removing attribute from DOM(量角器未知错误,从 DOM 中删除属性)
                  Protractor stale element reference when using the each() method(使用 each() 方法时的量角器过时元素引用)
                  How to set HTML5 type=quot;datequot; input fields (e.g. in Chrome) using Selenium/Protractor?(如何设置 HTML5 type=date;使用 Selenium/Protractor 的输入字段(例如在 Chrome 中)?)
                  Protractor clear() not working(量角器清除()不工作)

                    <i id='I84BW'><tr id='I84BW'><dt id='I84BW'><q id='I84BW'><span id='I84BW'><b id='I84BW'><form id='I84BW'><ins id='I84BW'></ins><ul id='I84BW'></ul><sub id='I84BW'></sub></form><legend id='I84BW'></legend><bdo id='I84BW'><pre id='I84BW'><center id='I84BW'></center></pre></bdo></b><th id='I84BW'></th></span></q></dt></tr></i><div id='I84BW'><tfoot id='I84BW'></tfoot><dl id='I84BW'><fieldset id='I84BW'></fieldset></dl></div>
                      <tbody id='I84BW'></tbody>

                          <legend id='I84BW'><style id='I84BW'><dir id='I84BW'><q id='I84BW'></q></dir></style></legend>
                            <bdo id='I84BW'></bdo><ul id='I84BW'></ul>

                            <small id='I84BW'></small><noframes id='I84BW'>

                            <tfoot id='I84BW'></tfoot>