• <legend id='wQ2kn'><style id='wQ2kn'><dir id='wQ2kn'><q id='wQ2kn'></q></dir></style></legend>
      <bdo id='wQ2kn'></bdo><ul id='wQ2kn'></ul>
  • <small id='wQ2kn'></small><noframes id='wQ2kn'>

        <i id='wQ2kn'><tr id='wQ2kn'><dt id='wQ2kn'><q id='wQ2kn'><span id='wQ2kn'><b id='wQ2kn'><form id='wQ2kn'><ins id='wQ2kn'></ins><ul id='wQ2kn'></ul><sub id='wQ2kn'></sub></form><legend id='wQ2kn'></legend><bdo id='wQ2kn'><pre id='wQ2kn'><center id='wQ2kn'></center></pre></bdo></b><th id='wQ2kn'></th></span></q></dt></tr></i><div id='wQ2kn'><tfoot id='wQ2kn'></tfoot><dl id='wQ2kn'><fieldset id='wQ2kn'></fieldset></dl></div>
      1. <tfoot id='wQ2kn'></tfoot>
      2. 无法让简单的引导模式工作

        Can not get a simple bootstrap modal to work(无法让简单的引导模式工作)

        <small id='8f5nq'></small><noframes id='8f5nq'>

          <tbody id='8f5nq'></tbody>
          <tfoot id='8f5nq'></tfoot>
              <bdo id='8f5nq'></bdo><ul id='8f5nq'></ul>
              • <legend id='8f5nq'><style id='8f5nq'><dir id='8f5nq'><q id='8f5nq'></q></dir></style></legend>

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

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

                  问题描述

                  我正在尝试让一个简单的引导程序的模态样本工作,我遵循 this document 其中说您可以轻松地在页面上激活模态,而无需编写一行 javascript.只需给一个元素一个 data-controls-modal 属性,该属性对应于一个模态元素 id,......",但我已经做了我所做的一切可以并且已经进行了大量研究,但仍然无法使这种简单的模式发挥作用.

                  I am trying to get a simple bootstrap's modal sample to work, I follow this document which says " You can activate modals on your page easily without having to write a single line of javascript. Just give an element a data-controls-modal attribute which corresponds to a modal element id, ...", but I have done whatever I could and had a huge amount of research still can not get this simple modal to work.

                  <div class="modal" id="myModal">
                  <div class="modal-header">
                  <button class="close" data-dismiss="modal">×</button>
                  <h3>Modal header</h3>
                  </div>
                  <div class="modal-body">
                  <p>One fine body…</p>
                  </div>
                  <div class="modal-footer">
                  <a href="#" class="btn">Close</a>
                  <a href="#" class="btn btn-primary">Save changes</a>
                  </div>
                  </div>
                  

                  我有这个:

                  <a class="btn" data-controls-modal="myModal">Launch Modal</a>
                  

                  或者这个:

                  <a class="btn" data-toggle="modal" href="#myModal" >Launch Modal</a>
                  

                  按钮激活模态,我也在页面上加载了 bootstrap-modal.js.除非我添加了一条 javascript 行来处理Launch Modal"点击事件,否则当我点击Launch Modal"时,什么都没有发生,我错过了什么吗?

                  button to activate the modal, I have loaded the bootstrap-modal.js on the page as well. Unless I added a javascript line to handle the "Launch Modal" click event, when I click on "Launch Modal", nothing happens at all, are there anything that I have missed?

                  推荐答案

                  我终于找到了这个解决方案来自Sven"并解决了这个问题.我所做的是将bootstrap.min.js"包含在:

                  I finally found this solution from "Sven" and solved the problem. what I did was I included "bootstrap.min.js" with:

                  <script src="bootstrap.min.js"/>
                  

                  代替:

                  <script src="bootstrap.min.js"></script>
                  

                  它解决了看起来很奇怪的问题.谁能解释一下为什么?

                  and it fixed the problem which looked really odd. can anyone explain why?

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

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

                  相关文档推荐

                  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='uQ3su'></bdo><ul id='uQ3su'></ul>

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

                      1. <tfoot id='uQ3su'></tfoot>

                          <tbody id='uQ3su'></tbody>

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

                          <legend id='uQ3su'><style id='uQ3su'><dir id='uQ3su'><q id='uQ3su'></q></dir></style></legend>