带有URL链接的PDF文档会在IE中打开标签,但不会引起关注 [英] PDF document with an link to URL opens tab in ie but will not bring focus on it

查看:109
本文介绍了带有URL链接的PDF文档会在IE中打开标签,但不会引起关注的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.net应用程序,该应用程序使用水晶报表创建PDF文档,该文档通过电子邮件发送给多个客户端. PDF文档具有一个超链接,该超链接是由Crystal报表超链接功能创建的,该超链接功能指向我们的网站页面之一.该链接会在IE中打开一个新标签,但不会将其重点放在此标签上.任何人都知道如何关注链接打开的新选项卡.在IE工具中,选中创建后始终切换到新选项卡."

http://test1.com/request.aspx?id=151003345# target=new;window.focus();

I have a .net application that uses crystal reports to create a PDF document that is emailed out to several clients. The PDF document has a hyperlink that was created by Crystal reports hyperlink function that points to one of our website pages. The link opens a new tab in IE but will not focus on it. Anyone know how to focus on the new tab that is opened by the link. In the IE tools I have the "Always switch to new tabs when they are created checked."

http://test1.com/request.aspx?id=151003345# target=new;window.focus();

推荐答案

AFAIK,这是IE特定的设置.

当您在IE中转到Internet选项并选择选项卡设置时,您会找到一个选项创建时始终切换到新选项卡".选中该选项,对您来说应该没问题.

因此,这是用户特定的设置,将取决于用户要如何处理新窗口/标签.
AFAIK, this is IE specific setting.

When you go to internet options in IE and select tab setting, you will find an option ''Always switch to new tab when they are created''. Check that option and it should be fine for you.

So this is a user specific setting and will depend on how a user want to handle new window / tabs.


这篇关于带有URL链接的PDF文档会在IE中打开标签,但不会引起关注的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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