[Tutorial] - Goto & Anchor Tags

Website Updates and Support for Dc Talk will be posted here.
Also post your feedback and suggestions for the site.

Moderator: pcwzrd13

TeamXlink
Rank 9
Posts: 950

[Tutorial] - Goto & Anchor Tags

Post#1 » Thu Feb 17, 2011 2:45 pm


This tutorial is to show everyone how to use the sites latest feature.

Goto and Anchor tags.

Information

These tags allow you to make a link to a specific spot in your post or thread.

How to use:

To do this you require two tags, the anchor and the goto.

Here is the code:

Goto

Code: Select all

[goto=anchornamehere]Link Text Here[/goto]


Anchor

Code: Select all

[anchor=nameofanchorhere]Anchor Text Here[/anchor]


Here are some rules for them.

The goto field and anchor field have to be the exact same, that means same case too.

You CAN'T have two anchors with the same anchor name it will automatically go to the first anchor with that name.

If you didn't do it correctly they won't work and your page will do nothing when you click.

Here is a working example with code for it.

Goto Tag Example

Code: Select all

[goto=ex1]Goto Tag Example[/goto]


Goto Anchor Example

Code: Select all

[anchor=ex1]Goto Anchor Example[/anchor]


Here is another example showing that you aren't required to have text in the anchor.

Blank Anchor Example

Code: Select all

[goto=ex2]Blank Anchor Example[/goto]




Code: Select all

[anchor=ex2][/anchor]


Here are examples of ones that don't work:

Different Case Error

Different Case Error

Code: Select all

[goto=case]Different Case Error[/goto]


Different Case Error

Code: Select all

[anchor=Case]Different Case Error[/anchor]


Duplicate Anchor Error

Duplicate Anchor Error

Code: Select all

[goto=duplicate]Duplicate Anchor Error[/goto]


Duplicate Anchor Error 1

Code: Select all

[anchor=duplicate]Duplicate Anchor Error 1[/anchor]


Duplicate Anchor Error 2

Code: Select all

[anchor=duplicate]Duplicate Anchor Error 2[/anchor]


Too see a much more elaborate use of these go to this thread:

http://dreamcast-talk.com/forum/viewtopic.php?f=47&t=2643

Goto Top of this thread

  • Similar Topics
    Replies
    Views
    Last post

Return to “Website Feedback, Updates and Support”

Who is online

Users browsing this forum: No registered users