Document link is seen in different tab | XM Community
Skip to main content
I have a document link in my questions and I would like the document to be seen in a different tab or different page of the survey link. Would this be possible?

I know that we can do right click on the link and click "open in new tab", but would it be possible if it will go directly to the different tab when my participants click on the link?



Thank you,

Best,

Sherly
Hi @Sherly,



You can use below code to show the link in new tab.



`<a href="Your Link" target="_blank">Your text to click on the link</a>`



Thanks,

Bhushan
Thank you @Bhushan.

I managed to do that. I would like to ask another question. Apart from a document link, I also have pictures that I attach in the question. Would it be possible to do that as well?

Here is the code that I have for pictures as I did it using lightbox as well.



<a data-lightbox="Your Picture Link" data-title="Your text to click on the link" href="Your Picture Link"><img height="100" src="Your Picture Link" width="100" />Your text to click on the link</a>



I tried adding your code above to the above code, but it seems that they hide my picture and only put the document link.

Is it possible to do that using pictures as well so the pictures can be shown on different page or tab of the survey link?



Thank you so much,
`<a data-lightbox="Your picture link" data-title="Your text data to click on the picture" href="Your picture link"><img height="100" src="Your picture link" width="100" />Your text data to click on the picture</a>`

Leave a Reply