DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Using Anchors Within Posts  (Read 9,190 times)

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Using Anchors Within Posts
« on: October 08, 2008, 11:43 AM »
This may end up making me look like a complete dumba$$, but Mouse Man asked me to post this here. So anyway, for those who want to be able to link to a specific section of their post (I will be using this from now on in the Weekly Tech News), you can use the [anchor] and [iurl][/iurl] bbc tags which I've only recently discovered, hence this post.
To add an anchor to your post you place the [anchor] tag somewhere in your document with a unique name e.g.
Code
[anchor=my_unique_name]
Then, when you wish to link to this anchor, you use the [iurl][/iurl] (internal URL) tags to link to the anchor like so:
Code
[iurl=#my_unique_name]go to my anchor[/iurl]
You can try this out by clicking here.

Ehtyar.













This has been a test of the emergency broadcast..er..anchor system.

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
Re: Using Anchors Within Posts
« Reply #1 on: October 08, 2008, 11:59 AM »
Like























this?

[Edit: Had to edit thrice coz of a stupid typo. *Grabs complete dumba$$ badge from Ethyar*]
« Last Edit: October 08, 2008, 12:07 PM by nosh »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Using Anchors Within Posts
« Reply #2 on: October 08, 2008, 02:02 PM »
cool! handy tags, bookmarking this. :)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Using Anchors Within Posts
« Reply #3 on: October 08, 2008, 03:09 PM »
Nice, I had been wondering whether there was bbcode for this :)
- carpe noctem

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: Using Anchors Within Posts
« Reply #4 on: October 08, 2008, 03:24 PM »
That's useful info, thanks!
Chris

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: Using Anchors Within Posts
« Reply #5 on: October 08, 2008, 07:41 PM »
Well I'm glad i wasn't the only one who didn't know about this. I guess neither of us have the complete dumba$$ badge nosh ;)

Ehtyar.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Using Anchors Within Posts
« Reply #6 on: October 14, 2008, 07:05 PM »
just wanted to point out -
if you link to an anchor in a different post, it wont work in preview mode but will (should!) when you've posted
Tom

Original address: https://www.donationcoder.com/forum/index.php?topic=15254.0