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

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

  2. <legend id='Tn7Y4'><style id='Tn7Y4'><dir id='Tn7Y4'><q id='Tn7Y4'></q></dir></style></legend>

      <tfoot id='Tn7Y4'></tfoot>

      Twitter引导模式不起作用

      Twitter bootstrap modal not working(Twitter引导模式不起作用)

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

        <tbody id='Z9L7e'></tbody>

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

              1. 本文介绍了Twitter引导模式不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我是 Twitter Bootstrap 的新手.我正在使用模态面板,但它没有被显示.它使屏幕变暗,但模态本身不会出现.我检查了错误控制台,没有错误.

                I am new to Twitter Bootstrap. I am working on a modal panel, but it is not being displayed. It fades the screen, but the modal itself does not appear. I have checked the error console, and there are no errors.

                我的代码在 <head> 标签内;我包括以下脚本:

                My code is inside the <head> tag; I include the scripts like:

                <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
                <script type="text/javascript" src="<?php echo $ruadmin ?>js/bootstrap.js"></script>
                <script src="<?php echo $ruadmin ?>js/tablesorter/jquery.tablesorter.js"></script>
                <script src="<?php echo $ruadmin ?>js/tablesorter/tables.js"></script>
                

                模态页面:

                <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
                
                <!-- Modal -->
                <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                  <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h3 id="myModalLabel">Welcome</h3>
                  </div>
                  <div class="modal-body">
                    <p> Hello </p>
                  </div>
                  <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
                    <button class="btn btn-primary">Save changes</button>
                  </div>
                </div>
                

                推荐答案

                你需要使用 data-target 标签.

                尝试将 href="#myModal" 属性替换为 data-target="#myModal".此外,你已经放了一个 hide 类,我猜它不应该在那里.

                Try to replace the href="#myModal" attribute with data-target="#myModal". Besides, you have put a hide class, I guess it shouldn't be there.

                查看示例这里

                这篇关于Twitter引导模式不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                Draw border around nontransparent part of image on canvas(在画布上的图像不透明部分周围绘制边框)
                dragging and resizing an image on html5 canvas(在 html5 画布上拖动图像并调整其大小)
                What#39;s the difference between a boolean as primitive and a boolean as property of an object?(作为原始对象的布尔值和作为对象属性的布尔值有什么区别?)
                I want to do animation of an object along a particular path(我想沿特定路径对对象进行动画处理)
                How to upload image into HTML5 canvas(如何将图像上传到 HTML5 画布中)
                How to show a running progress bar while page is loading(如何在页面加载时显示正在运行的进度条)

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

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

                    • <tfoot id='Pmf7M'></tfoot>

                          <tbody id='Pmf7M'></tbody>