关闭浏览中的其他选项卡 [英] close other tab in browse

查看:92
本文介绍了关闭浏览中的其他选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



点击按钮后如何关闭其他浏览标签

谢谢

hi
how to close other browse tab when click in button
thanks

推荐答案

顶部网页中应用程序层次结构的级别为 window !这意味着除了打开它们之外你无法联系到其他窗户,在这种情况下你可以存储开启时的参考...

所以简单的答案是否定的!

为了把它带到另一个层面,让我问你一个问题:你会怎么做一个软件的和平软件(这个问题的网页)会在交互时关闭你打开的所有网页!

你看!请记住,那不是你的电脑!您无需管理它并做出相关决定 - 这是为最终用户保存的权利...
The top level of your application hierarchy in a web page is window! That means you can not reach out for other windows except you have opened them, in which case you can store a reference of the upon opening...
So the simple answer is NO!
To take it to an other level, let me ask you a question: What would you do with a peace of software (web page for that matter) that would close all your opened web pages upon interaction!
You see! Remember that that is NOT YOUR computer! It isn't up to you to manage it and make decisions about it - that's a right saved for the end user...


您可以在新窗口中反向打开您的页面,这对你有用。
You can go reverse and open you page in New Window, That should work for you.


这篇关于关闭浏览中的其他选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆