by Ange Tuteur August 4th 2015, 11:37 pm
The best way to do that would be to first publish the topic, because you'll need to copy the direct link from the address bar. If you've already done that, just edit your existing post.
To link to a specific portion on a page you can use hashes (
#hash ) which link to HTML elements with a specific ID or name in some cases. As we've done with the tutorials, I've made use of tables because you can add classes and ids to them.
Here's a quick example :
- Code:
[list]
[*][url=#section-a]Section A[/url]
[*][url=#section-b]Section B[/url]
[*][url=#section-c]Section C[/url]
[/list]
[table id="section-a"][tr][td][/td][/tr][/table]
[h2]Section A[/h2]
Some texts...
[table id="section-b"][tr][td][/td][/tr][/table]
[h2]Section B[/h2]
Some texts...
[table id="section-c"][tr][td][/td][/tr][/table]
[h2]Section C[/h2]
Some texts...
In the example above you'll need to place the link of the topic before the hash ( # ) in the URL bbcode. I'll consider inquiring about this, to make it easier to do what I've mentioned here.