0

I have created the view which is having the fetched contents of title body etc..,title is connected with "Link this field to the original piece of content", and i want that link should be opened in the new window,please help me on this,is there any way to make this?

Thanks in Advance.

2 Answers2

0

Probably the easiest way would be to do that with JavaScript. Something like explained here:

How do I add target="_blank" to a link within a specified div?

$(document).ready(function(){
  $('#link_other a').attr('target', '_blank');
});

And instead of that "#link_other a" you should put something for detecting your link(s) that you want to open in different page/tab.

Community
  • 1
  • 1
MilanG
  • 6,994
  • 2
  • 35
  • 64
0

To Click title field choose Rewrite result option and put this html code and save the view.

enter image description here

enter image description here

<a href="node/[nid]" target="_blank">[title]<a/>
Ujjval Jha
  • 358
  • 2
  • 5