cancel
Showing results for 
Search instead for 
Did you mean: 

Can't add link to content in the same doc

former_member202465
Contributor
0 Kudos
95

Hi experts, need your help again

I'm trying to have local links in my doc, like this -

The target is:

<a id="topic_8">...</a>

The link to press is:

<a href="#topic_8">see topic 8</a>

I used the free HTM editing but for some reason this didn't work. Could you please help?

Thanks!!!

Udi

View Entire Topic
JasonLax
Product and Topic Expert
Product and Topic Expert
0 Kudos

I don't think you can add anchor tags anymore since the last update.

The only links within content are when using the TOC widget: http://scn.sap.com/docs/DOC-29083#jive_content_id_Inserting_a_Table_of_Contents

former_member202465
Contributor
0 Kudos

Hi Jason,

Thanks for the quick reply - It's a helpful doc!

It's too bad about not having "links to the same doc" - the motivation is clear: a basic and useful HTML feature... is there a plan to support it at some point?

Thanks,

Udi

JasonLax
Product and Topic Expert
Product and Topic Expert
0 Kudos

Most likely not.

Something you might try is to put the table of content at the end of the document to activate the widget, then you'll be able to put the links above in the documents--as long as they are tagged as headers. The uses this trick to avoid a long TOC at the top, where I've created a custom wide TOC instead.

Message was edited by: Jason Lax

JasonLax
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hang on...I figured it out: use the name attribute rather than id.

For example:


<a href="#bottom">Go to bottom</a>

<a name="bottom">Bottom of Page</a>

Try it out.

former_member202465
Contributor
0 Kudos

Super!!!