How do I capture the direct HTML address for a bookmark?

HM5 served us well, now its time has come and it has been replaced... If you have HM5 questions, please post them here.

Moderators: Alexander Halser, Tim Green

Post Reply
vanwerkum
Posts: 192
Joined: Wed Oct 26, 2005 4:34 pm

How do I capture the direct HTML address for a bookmark?

Unread post by vanwerkum »

In the Webhelp Index, I have an entry that, when clicked, takes you to a bookmark on a topic. However, when I shift-click to open the topic in a new window (which would then, theoretically, allow you to copy the address), the bookmark is removed.

e.g., a click takes you to http://www.company.com/doco/index.htm?xxx.htm#bookmark1 ; a shift-click takes you to http://www.company.com/doco/index.htm?xxx.htm , although http://www.company.com/doco/index.htm?xxx.htm#bookmark1 shows briefly in the address bar first.

How then do I capture the direct HTML address for a bookmark? (We need to be able to do this to send direct topic references to clients.)

I am using H&M Build 790.
User avatar
Tim Green
Site Admin
Posts: 23184
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Unread post by Tim Green »

Hi Robert,

This is not working because normal topic links only link to the topic file. To work with when opening the link in a new window or tab the link would have to include the fully qualified syntax, i.e. <a href="index.html?topicname.htm#anchorname>. This is not done because topic links are normally not used to open the topic in a new window, they are designed to open the topic in the current window.

To send an anchor link to someone you just need to add the index file name. Right-click on the link and select your browser's option for copying the link location, than paste it somewhere and add in index.html? (or the name of your index file if you use a different one) in the appropriate location. Then the link will work correctly when pasted into an address bar.
Post Reply