Linking to an anchor

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Sean Godley
Posts: 92
Joined: Sun Apr 24, 2016 6:10 am

Linking to an anchor

Unread post by Sean Godley »

Hi all,

I am writing a chapter in one of my manuals and the developers have asked that I add links to various sections of the page. I looked through the help manual and it says there:

You can also create URL links from your application or from other web pages to anchors in WebHelp pages so that users are taken directly to a specific point in a topic when they use your links. The syntax is exactly the same as the standard HTML syntax for URLs containing anchor references:

index.html?topicname.htm#anchorname

I have tried doing this but it doesn't seem to work. For example, here is a page in my manual that contains an anchor:

https://help.tracker-software.com/pdfxe ... ns_ed.html

The name of the anchor is "editactionslist" - so, I thought the following link should work:

https://help.tracker-software.com/pdfxe ... ctionslist

But it does not work. Can anyone offer any help please?

Thanks,

Sean
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Linking to an anchor

Unread post by Tim Green »

Hi Sean,

The anchor works as described, you just left parts of the URL out. The correct URL for this topic wold be:

Code: Select all

https://help.tracker-software.com/pdfxe8/index.html?link-options_ed.html#editactionslist
Your link was:

Code: Select all

https://help.tracker-software.com/pdfxe8/link-options_ed.htm#editactionslist
You used .htm instead of .html as the file extension and left out the index.html? part at the beginning.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Sean Godley
Posts: 92
Joined: Sun Apr 24, 2016 6:10 am

Re: Linking to an anchor

Unread post by Sean Godley »

Brilliant!

Thanks for your help.

Sean
Post Reply