Open new tab in browser

Krothos
Krothos

Is there a method to add a weblink address to a wiki and have it open a new tab instead of opening in the existing tab? Will this work in all browsers or is this browser controlled?

 

Comments

  • Johnprime
    Johnprime
    Posts: 252 edited October 2017

    If you were to use the a href html anchor tag, then you should be able to also include a target attribute.

    <a href="url" target="_blank">Link Text</a>

    That should give you what you need as long as there isn't code that strips that functionality out of the site.

    Just tried it on one of my wiki pages and it didn't work, their code stripped out the target="_blank". Not sure how you'll be able to do it, but I'll think about it and if something comes to mind, I'll let you know.

    Post edited by Johnprime on

    Johnprime

    Deadwood Deacon Banner

    Where the west is really wild!

    The Valley of Life Banner

    The Valley of Life

  • Krothos
    Krothos
    Posts: 230

    Thanks.

Sign In or Register to comment.

April 2024
Season of Strife

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions