You can create context-sensitive calls to Webhelp (web HTML) from your application or web pages with normal URLs using the syntax explained below. These calls can be made locally, across networks or across the Internet.
Field-level popups are not supported in Webhelp, they can only be implemented with HTML Help (CHM) or Winhelp (HLP). The JavaScript popups supported in Webhelp can only be used within your help, you cannot make calls to them from your application or web pages.
Calls to Webhelp must be normal URLs, made in the same way as any other URL link that opens a browser with a specific web location or local HTML file, using exactly the same syntax: Calling syntax: index.html?topicname.htm#anchorname Examples: This example uses the standard file names and extensions and accesses an anchor in the referenced topic: index.html?introduction.htm#gettingstarted The following example shows a call to a project that was compiled with both a non-standard index file name and a non-standard extension for the topic files (see below). There is no reference to an anchor in this example. help.html?new_features.html Elements of the calls:
|
Normally, a link to a topic file will automatically display the entire help with the TOC even if you don't include the index.html part of the URL. This is achieved with a redirect script in every topic page. However, It is also possible to call just the topic without the TOC if you want. You do this by adding a simple switch to your URL. Calling syntax for topic only: topicname.htm?toc=0#anchorname (with an anchor) topicname.htm?toc=0 (without an anchor) |
Theoretically you don't actually need to include the index.html file in the URL. If you make a direct call with the format topicname.htm or topicname.htm#anchorname this will automatically display the entire help system with the Table of Contents. This is not a good idea, however: Under some circumstances it can confuse the browser history, making it impossible for users to navigate with the Back and Next buttons. It is thus always advisable to use the full call including the index file, using the standard syntax: index.html?introduction.htm#gettingstarted |
See also:
Context-Sensitive Help & Popups
Topic files without TOC entries
Page url: http://www.helpandmanual.com/help/index.html?hm_advanced_contexthelp_browsercalls.htm