Open links in new tab
Bryn Pickering 7 years ago • updated by Adam Rego Johnson 4 months ago • 6
Annoyingly have to use BibBase via iframe due to managed web service won't allow external scripts. In this situation, if someone clicks on any links in the iframe (to see a paper on BibBase or external site) it loads the result within the iframe.
I know that if "target="_blank"" is placed within the html for a link it will open in new tab, but control of that is on the BibBase side of things. Is there any way of editing that or having some optionality in BibBase to allow for it?
*Edited topic when I realised it was the case for all links in iframe
Customer support service by UserEcho
It's been three years and still no answer !?
Sorry, no that is not currently possible. We *strongly* recommend against using iframes. The external script method should work everywhere because that is how almost all web pages work these days: they pull in scripts from other places, not just the local server where the HTML is hosted.
According to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base#attr-target you can add
to the head of your HTML document to make all links open in a new tab. This would then apply to links created by BibBase as well. Does that work for you?
Hi Christian, I've passed this along to our website developer am still waiting for a response. Thank you!