Linking halfway down a page.

Comments

  • JamesHazelton
    JamesHazelton
    Posts: 6
    I don't know what it's called, but a lot of websites do a thing where you can hyperlink halfway down a page. Like if you want to hyperlink to section 3 of this page at that website, the URL would be http://www.thatwebsite.com/thispage.html#3.

    To use a real example, the entry for the Sudden Sandwich tavern is on my wiki page for the town of Timendir (http://www.obsidianportal.com/campaign/aurobin-do/wikis/trimendir). I'd like to be able to link to the Sudden Sandwich without having to make a dedicated page for it.

    Is there a way I can do that?
  • FemmeLegion
    FemmeLegion
    Posts: 521
    You want the NAME attribute in the A tags.

    I'm not going to go into any more detail than that because I'm not in a place where I can open another tab and see if NAME is a supported attribute. When you're editing a wiki page, it'll say textile and SOME HTML is allowed - the SOME HTML is a link. It'll tell you if NAME is a supported attribute.
  • IceBob
    IceBob
    Posts: 98
    It is. I've started to set name attributes on a few of my pages for future linking.
  • redstar
    redstar
    Posts: 119
    I was under the impression that HTML anchors weren't allowed? did that change with the update?
  • Foxbat
    Posts: 1
    It doesn't look like NAME is supported. Has anyone found a way to do a link that references another entry on that same page?
  • ChainsawXIV
    ChainsawXIV
    Posts: 530
    I just tried it to be sure, and both _Anchor_ tags and the _Name_ attribute are supported. With this, you can create on-page anchors just like normal:


    Go Here

    ...Here there be content...
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