Caveat:
The system works perfectly as long as WebHelp is not already open. If WebHelp is open, and the user clicks a help button somewhere else in the application, the WebHelp window comes to the top, but the displayed page does not change from where it was before. (To change that behavior, WebHelp itself would have to be revised.)
<script src="json_sans_eval.js" type="text/javascript"></script> <script src="help_index.js" type="text/javascript"></script> <script src="showhelp.js" type="text/javascript"></script>
<a href="javascript:showHelp('some_topic_ID')">
<img border="0" alt="help" src="help_button.png" width="18" height="18">
</a>
Use any image you want, of course, and insert the ID of the topic
you want to display.Implication:
Only topics can be directly addressed--not sections or elements within them.
(Topic titles are passed in the WebHelp URL as #<topic title>. Passing #<topic title>/<topic ID> did not work. Nor did #<topic title>/<section title>.)