<bdo id='x1PCB'></bdo><ul id='x1PCB'></ul>

        <legend id='x1PCB'><style id='x1PCB'><dir id='x1PCB'><q id='x1PCB'></q></dir></style></legend>
        <tfoot id='x1PCB'></tfoot>

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

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

      2. 在 chrome 下弹出一个窗口

        时间:2023-10-01
          <legend id='3F2qJ'><style id='3F2qJ'><dir id='3F2qJ'><q id='3F2qJ'></q></dir></style></legend>
            1. <small id='3F2qJ'></small><noframes id='3F2qJ'>

                <tbody id='3F2qJ'></tbody>
            2. <tfoot id='3F2qJ'></tfoot>
              • <i id='3F2qJ'><tr id='3F2qJ'><dt id='3F2qJ'><q id='3F2qJ'><span id='3F2qJ'><b id='3F2qJ'><form id='3F2qJ'><ins id='3F2qJ'></ins><ul id='3F2qJ'></ul><sub id='3F2qJ'></sub></form><legend id='3F2qJ'></legend><bdo id='3F2qJ'><pre id='3F2qJ'><center id='3F2qJ'></center></pre></bdo></b><th id='3F2qJ'></th></span></q></dt></tr></i><div id='3F2qJ'><tfoot id='3F2qJ'></tfoot><dl id='3F2qJ'><fieldset id='3F2qJ'></fieldset></dl></div>
                  <bdo id='3F2qJ'></bdo><ul id='3F2qJ'></ul>
                  本文介绍了在 chrome 下弹出一个窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个按钮需要打开一个新窗口作为弹出窗口(在父页面下).在 IE/Firefox 中,它可以正常工作,但在 chrome 中,弹出窗口出现在父窗口上方(顶部).

                  I have a button that needs to open a new window as a popup (under the parent page). In IE/Firefox, it works fine, but in chrome the popup appears over (on top of) the parent window.

                  请提出修复建议.

                  用例/例如:好吧,例如,如果您看到 kayak.com 或任何旅游网站,您也可以在其他网站上搜索..我想做类似的事情,所以需要弹出...

                  use case/eg: Well, for eg if you see kayak.com or any travel website, you have the ability to search on other websites too..I want to do something similar so need the pop under...

                  代码:我使用的是 window.open(.......).blur(),但由于某种原因它不能在 chrome 中工作.

                  Code: I am using a window.open(.......).blur(), but for some reason it isnt working in chrome.

                  推荐答案

                  我收回我的评论,是可能的.

                  I take back my comment, is possible.

                  以下内容对我有用.(测试了最新的生产 chrome)

                  The following worked for me. (tested latest production chrome)

                  var url = "yourURL.html";
                  window.open(url, "s", "width= 640, height= 480, left=0, top=0, resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no").blur();
                  window.focus();
                  

                  像所有事情一样,如果您惹恼了访问者,您的访问者就会减少.

                  Like all things, if you annoy your visitors you will have less visitors.

                  这篇关于在 chrome 下弹出一个窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用 javascript 打印图像 下一篇:更改已打开的弹出窗口的 url

                  相关文章

                  • <bdo id='WpXW7'></bdo><ul id='WpXW7'></ul>

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

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