Skip to main content
October 9, 2008
Question

How can I open a URL from a Custom Button in a second help window?

  • October 9, 2008
  • 1 reply
  • 370 views
I have a custom button, which currently opens a URL in a web browser, using a redirect page. How can I change this so that it opens in a second help window instead? If I understand some of the posts I've read, it is possible by linking the button to a related topics function but I've no idea how this is done.

As usual, your help is most appreciated. Thanks a lot.
This topic has been closed for replies.

1 reply

Participating Frequently
October 9, 2008
Hi, ecoulyn,

You need to make a topic file like the one below the target of the Jump button.

The onLoad function on the Body start-tag causes the Related Topics command to fire when the topic file is loaded in the topic pane. When specifying the file name of the topic to display in the secondary window, you must always prepend it with the name of your .chm file, followed by "::/". Otherwise, an error message appears when the Jump button is clicked.

Pete
October 9, 2008
Fabulous. Works perfectly. Thanks again. You guys are an invaluable resource!