1. <legend id='98uRX'><style id='98uRX'><dir id='98uRX'><q id='98uRX'></q></dir></style></legend>
  2. <tfoot id='98uRX'></tfoot>

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

    <small id='98uRX'></small><noframes id='98uRX'>

      我在一个页面上有两个模式,(我正在使用引导程序);单击任何模式只会打开第一个.我不懂js;有html修复吗?

      I#39;ve two modals on a page, (i#39;m using bootstrap); clicking on any modal opens only the first. I don#39;t understand js; is there an html fix?(我在一个页面上有两个模式,(我正在使用引导程序);单击任何模式只会打开第一个.我不懂js;有html

    1. <legend id='fun5Y'><style id='fun5Y'><dir id='fun5Y'><q id='fun5Y'></q></dir></style></legend>

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

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

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

              <tbody id='fun5Y'></tbody>
            • <bdo id='fun5Y'></bdo><ul id='fun5Y'></ul>
              1. 本文介绍了我在一个页面上有两个模式,(我正在使用引导程序);单击任何模式只会打开第一个.我不懂js;有html修复吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                这是第一个模态的代码;在接下来的两个模态中,所有变化都是内部的图像链接,但只有这些显示出来.

                This is the code for the first modal; all that changes in the next two modals is the image links inside, but only these show up.

                <div id="modallinkleft">
                  <a href="#myModal" data-toggle="modal">
                  <img src="mylinks/cp/117s.jpg">
                  <img src="mylinks/cp/23s.jpg">
                  <img src="mylinks/cp/08s.jpg">
                  </a>
                  <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-body">
                      <img src="mylinks/cp/117.jpg">
                      <img src="mylinks/cp/23.jpg">
                      <img src="mylinks/cp/08.jpg">
                    </div>
                    <div class="modal-footer">
                      <button class="btn" data-dismiss="modal" aria-hidden="true">x</button>
                    </div>
                  </div>
                </div>
                

                推荐答案

                每个modal应该被赋予一个不同的id并且每个链接应该定位到不同的模态 ID.所以应该是这样的:

                Each modal should be given a different id and each link should be targeted to a different modal id. So it should be something like that:

                <a href="#myModal" data-toggle="modal">
                ...
                <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>
                ...
                <a href="#myModal2" data-toggle="modal">
                ...
                <div id="myModal2" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>
                ...
                

                这样,如果你点击第一个链接,它应该会弹出第一个模态,如果你点击第二个 - 会弹出第二个模态.

                In this way, if you click the first link, it should pop-up the first modal and if you click the second - the second modal is popped up.

                这篇关于我在一个页面上有两个模式,(我正在使用引导程序);单击任何模式只会打开第一个.我不懂js;有html修复吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                How to make rooftext effect and valley text effect in HTML5 (or Fabric.js)(如何在 HTML5(或 Fabric.js)中制作屋顶文字效果和山谷文字效果)
                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 画布中)

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

                      <tbody id='4ThFf'></tbody>

                      <small id='4ThFf'></small><noframes id='4ThFf'>