<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 显示为模态弹出窗口

        时间:2023-06-13

          • <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 显示为模态弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:AngularJS模态对话框表单对象在控制器中未定义 下一篇:如何通过 Rails 中的 JS 请求显示 twitter 引导模式?

                  相关文章

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

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