在新窗口中打开链接列表? [英] Open link-lists in new window?

查看:85
本文介绍了在新窗口中打开链接列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在不再可以通过使用HTML创建计算列来规避这一问题-还有另一种方法来强制列表中的链接在新窗口/标签中打开吗?

解决方案

嗨索兰,

强制链接在新窗口中打开的另一种方法是将target设置为"_blank".使用JavaScript将属性设置为html超链接,下面是一个代码段供您参考:

< script type =" text/javascript"src ="http://code.jquery.com/jquery-1.10.2.min.js"</script>
< script type ="text/javascript"> 


(function(){ var


t =


Now that it is no longer possible to circumvent this by making calculated columns with HTML - is there another way to force links in a list to open in a new window/tab?

解决方案

Hi Soran,

Another way to force a link open in a new window is set target="_blank" property to a html hyperlink using JavaScript, here is a code snippet for your reference:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript">


(function() { var


t =


这篇关于在新窗口中打开链接列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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