Page 1 of 1

Using [gototpost] with the [anchor] tag

Posted: Thu May 24, 2007 9:49 pm
by kassim503
Shagbark wrote:test
That was sneaky , bringing me back to the same link again


while im here i should learn this, how the hell do the links know where to go in the middle of a page with a link. When I do it it just goes to the top of the page, when pro's do it they can make it go right to the spot and it is making me jelous :D

Posted: Fri May 25, 2007 6:29 am
by asavage
kassim503 wrote:while im here i should learn this, how the hell do the links know where to go in the middle of a page with a link. When I do it it just goes to the top of the page, when pro's do it they can make it go right to the spot and it is making me jelous :D
Can you cite an example?

I assume you mean something like, oh,

http://nissandiesel.dyndns.org/viewtopi ... _IP_timing ?
(the same link, using [ gotopost] is [gotopost2=4,IP_timing] )

Since you generally can't figure out what someone else has named an inline anchor, you usually can't use other people's anchors. If you have permission to quote or edit a post, you can use the Compose window to search for the anchorname. Quote a post that you think may have an anchor, then within the Compose window, search for the word "anchor" using your browser's built-in Search (usually <Ctrl+F>).

Another place I use post anchors is in the SD Fuel Filters thread, where I have an anchor for the Secondary filter.

Posted: Sat May 26, 2007 8:10 am
by kassim503

Posted: Sat May 26, 2007 8:56 am
by asavage
Wow, I didn't know about the internal [goto] link. Only works for referencing within a post, but still . . . I didn't know about it.

Link to post above, "sneaky".

Posted: Sat May 26, 2007 10:05 am
by kassim503

Posted: Sat May 26, 2007 10:06 am
by kassim503
ok i think i got it, but how do i figure out whats the post number?
I tried looking at the numbers located at the end of the url but it didnt work

Posted: Sat May 26, 2007 11:32 am
by asavage
kassim503 wrote:ok i think i got it, but how do i figure out whats the post number?
I tried looking at the numbers located at the end of the url but it didnt work
See this thread for details on finding the post number ("postnum").

Posted: Sat May 26, 2007 10:09 pm
by kassim503
im slowly getting it, i tried linking to another post successflly but then after that i was not able to link straight to the area, even though i planted an anchor in the middle of the topic. not to worry, ill try it again in the morning and I know ill get it sometime. I could just blame it on technology and call it a day, but im determined :lol:

Posted: Sun May 27, 2007 9:59 am
by kassim503

this is a anchor that i linked from the other topic

Posted: Wed Feb 06, 2008 9:02 am
by asavage
I just found that one can't have an anchor that begins with a number.

Code: Select all

[anchor]720[/anchor]
will not work, but

Code: Select all

[anchor]pickup[/anchor]
does.

Posted: Sun Feb 17, 2008 6:47 pm
by asavage
This is the Anchor MOD FAQ, which for some reason didn't get added automatically to our forum's FAQ section when the MOD was installed.
=================================================
How to make anchors and link inside posts

This board has anchoring and linking within posts enabled.
  • To make anchors within your posts, just specify [anchor]anchorname[/anchor].
  • To link to that anchor:
    1. From within that post, use [goto=anchorname]text[/goto].
    2. From another post on the same page, use [goto=postnum,anchorname]text[/goto].
    3. From another post on a different page, use [gotopost=postnum,anchorname]text[/gotopost].
  • You can also use goto and gotopost to link to the top of any post:
    1. [goto=postnum]text[/goto] if the other post is on the same page,
    2. Otherwise use [gotopost=postnum]text[/gotopost]