<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 下弹出一个窗口

        Making a window pop under in chrome(在 chrome 下弹出一个窗口)
          <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 下弹出一个窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  在开发JS过程中,会经常遇到两个小数相运算的情况,但是运算结果却与预期不同,调试一下发现计算结果竟然有那么长一串尾巴。如下图所示: 产生原因: JavaScript对小数运算会先转成二进制,运算完毕再转回十进制,过程中会有丢失,不过不是所有的小数间运算会
                  问题描述: 在javascript中引用js代码,然后导致反斜杠丢失,发现字符串中的所有\信息丢失。比如在js中引用input type=text onkeyup=value=value.replace(/[^\d]/g,) ,结果导致正则表达式中的\丢失。 问题原因: 该字符串含有\,javascript对字符串进行了转
                  Rails/Javascript: How to inject rails variables into (very) simple javascript(Rails/Javascript:如何将 rails 变量注入(非常)简单的 javascript)
                  CoffeeScript always returns in anonymous function(CoffeeScript 总是以匿名函数返回)
                  Ordinals in words javascript(javascript中的序数)
                  getFullYear returns year before on first day of year(getFullYear 在一年的第一天返回前一年)

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

                      <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>