在后台打开新选项卡

编程入门 行业动态 更新时间:2024-10-28 11:29:39
本文介绍了在后台打开新选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想点击一个链接按钮打开一个新窗口。 这应该在后台进行,我们按Ctrl +点击 请帮助。非常紧急 提前谢谢

Hi, I want to open a new window on clicking on a link button. This should be happen in background as we do Ctrl + click Please help. Very urgent Thanks in advance

推荐答案

你会使用 window.open() [ ^ ]方法,但在后台打开它是浏览器的一个功能,而不是你可以实际控制的东西。 有一些技术可以创建所谓的popunders,所以你可以搜索它,但我建议不要这样做,因为很多人都有广告阻止软件会阻止你对你正在做的事情的尝试。 You would use the window.open()[^] method but having it open "in the background" is a feature of the browser and not something that you can actually control. There are some techniques to create what are called "popunders" so you could search on that but I would recommend against that because lots of people have ad-blocking software which will block your attempt at what you are doing.

如果您使用asp链接按钮,则使用以下代码进行页面链接。按下Cnt +单击后再打开新窗口想要导航 If u use asp Link button then use following code for page link. after you press Cnt+Click then open new window when you want to navigate <asp:LinkButton PostBackUrl="<here specify your page navigation address>" Text="PressMe" runat="server" ID="lbOpenLink"></asp:LinkButton>

更多推荐

在后台打开新选项卡

本文发布于:2023-11-27 20:46:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639542.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:选项卡   开新   后台

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!