PDA

View Full Version : Question: How to make a Link go to A certain Part of Your Thread


shubshub
March 23rd, 2010, 09:12 PM
Could some Please Tell Me How to do This


For example


If I Have Something At The Bottom Of My Post

I Want A link That Will Automaticly Take Me To That Part of The Post

Cherrim
March 23rd, 2010, 10:17 PM
Yup. You want the [a id] and tags. :)

[aurl=bottom]Click this to go to the bottom of this spoiler tag

















































[a id]bottom[/a id]This is the bottom of this spoiler tag.

The tags for that are:
Click this to go to the bottom of this spoiler tag
and
[a id]bottom[/a id]

Eliminator Jr.
March 23rd, 2010, 10:52 PM
Just to clarify, you can have multiple "anchors". To have the link, type Text of link and then place [a id]WORD OF YOUR CHOICE HERE[/a id] NEXT to the text where you want the link to end up, NOT around it. You can have multiple different anchors, just make sure the word that you end up using is different for each anchor.

Kura
March 26th, 2010, 02:52 PM
Could you use that as an example with like the URL typed in so it's a bit clearer? Cause right now I dunno where the URL is replacing right now..

Cherrim
March 26th, 2010, 04:10 PM
When you make an anchor, it effectively lets you place a "bookmark" on one part of the page. Chances are when you clicked on this thread to read this reply, the URL shows a # and something after it--this is one of vBulletin's built-in anchors, so that when you click on the thread it'll bring you to the exact place on the page where the newest post is, etc.

In the example I gave above with "bottom", it's basically adding #bottom to the end of the URL and that URL will bring you to wherever you set up your anchor on the page (which is done in BB Code with our [a id] tags). The [aurl] tags are just a quick way to get to them (so long as you're on the same page) instead of typing [url=http://www.pokecommunity.com/showthread.php?p=5654842#bottom]. (Actually, if you open my spoiler tag and click the link that brings you to the bottom of the spoiler tag, you'll see what I mean in the URL bar.)

So [a id]word[/a id] goes hand in hand with [aurl=word]text of the link[aurl]. And "word" can be anything you want so long as it has no spaces. That's all there is to it.

I... think that covers your question. @_@