Force link into new window?

Sorwen
edited February 2012 in Campaign Portal Building
I have a question. Is there any way to force a link to open in a new window? Generally I don't like to do that, but for example on any of my character "lists":http://www.obsidianportal.com/campaign/return-to-the-time-of-troubles/wikis/adventuring-party where I have external information that can be accessed like a full picture of the character(click on the head shot) I want a new window to open rather than go to the page. I have the link setup with target="_blank" which should force it to do so but it doesn't. Am I doing something wrong or is it just a quirk of OP?

"Return to the Time of Troubles":http://www.obsidianportal.com/campaigns/return-to-the-time-of-troubles

Comments

  • magavendon
    magavendon
    Posts: 112
    Alright, I've looked into it and it you're right with the target="_blank" (in a sense, I'll get back to this in a minute) for having the link open up a new page. I tested it out myself too, just to play around with it, but I also only got it to open in the same window, instead of a new one.

    So I looked around some more and found out that using target="_blank" is apparently the old way of doing it with the new way being the use of javascript (i.e. text for linking). I tried this method next, expecting it to fail, which it did.

    Obsidian portal has disabled the use of some (a lot of) attributes as well as different tags. Thus, like I was expecting with the onclick attribute, apparently the target attribute has been disabled as well.

    Sorry I couldn't figure out how to make it work for you, but I hope this gives you some peace of mind?

    "Progression into the Stars":http://www.obsidianportal.com/campaigns/progression-into-the-stars
  • GamingMegaverse
    GamingMegaverse
    Posts: 2,998
    Thanks for trying Magavendon!

    Just trying to help out.

  • Sorwen
    Posts: 64
    Yes, thank you very much for all of that. I figured it might be an old way and hoped there was another, but since it is javascript...ah well. Thanks again for your help.
Sign In or Register to comment.

March 2024
Wrath of the Highborn

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