• <small id='6ZNEO'></small><noframes id='6ZNEO'>

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

        <legend id='6ZNEO'><style id='6ZNEO'><dir id='6ZNEO'><q id='6ZNEO'></q></dir></style></legend><tfoot id='6ZNEO'></tfoot>

          <bdo id='6ZNEO'></bdo><ul id='6ZNEO'></ul>

        HTML - JS 如何通过单击在图像弹出窗口中打开图像?

        HTML - JS How to open an image in an image popup by clicking on it?(HTML - JS 如何通过单击在图像弹出窗口中打开图像?)
        <legend id='2tgg2'><style id='2tgg2'><dir id='2tgg2'><q id='2tgg2'></q></dir></style></legend>

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

                <small id='2tgg2'></small><noframes id='2tgg2'>

                  <tbody id='2tgg2'></tbody>
              • <tfoot id='2tgg2'></tfoot>
                  本文介绍了HTML - JS 如何通过单击在图像弹出窗口中打开图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我应该在 htmljavascript 或其他代码中编写一些代码,以通过单击图像打开弹出窗口.我已经看过 window.open() 方法,但这不是我想要的.确切地说,我想像 Twitter 那样打开一个图像弹出窗口:遮盖背景并在屏幕中间显示放大的图像.

                  I should write some code in html or javascript or other to open a popup window by clicking on an image. I have already seen the window.open() method, but this isn't what I am looking for. Precisely I want to open an image popup like Twitter does: overshadowing the background and displaying the image enlarged in the middle of the screen.

                  有什么建议吗?

                  推荐答案

                  你可以用灯箱来做.

                  这个链接有一个简单的例子:

                  There is a simple example in this link:

                  http://lokeshdhakar.com/projects/lightbox2/

                  这篇关于HTML - JS 如何通过单击在图像弹出窗口中打开图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  quot;Each child in an array should have a unique key propquot; only on first time render of page(“数组中的每个孩子都应该有一个唯一的 key prop仅在第一次呈现页面时)
                  How do I make a TextGeometry multiline? How do I put it inside a square so it wraps like html text does inside a div?(如何制作 TextGeometry 多线?如何将它放在一个正方形内,以便它像 html 文本一样包裹在 div 内?) - IT屋-程序员软件开发技术分享社
                  Scale background image to fit ie8 window(缩放背景图像以适合 ie8 窗口)
                  Safari 5.1 breaks CSS table cell spacing(Safari 5.1 打破 CSS 表格单元格间距)
                  Put in bold part of description in metatag Drupal module(将描述的粗体部分放在元标记 Drupal 模块中)
                  How to get file size of newly created Image() if src is base64 string?(如果 src 是 base64 字符串,如何获取新创建的 Image() 的文件大小?)

                        <tbody id='ADfi6'></tbody>

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

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

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