Invoking the action from HTML

To include active help links in your documentation, you must first declare the use of the active help JavaScript in the HEAD tag of your HTML:

<script language="JavaScript" src="../../org.eclipse.help/livehelp.js> </script>

The live help JavaScript is located in the org.eclipse.help plug-in.  You can refer to it using the help system's cross plug-in referencing technique.  

In this example, we have to navigate up two levels in the directory structure.  The document with the active help link is located in the sub-directory guide underneath our plug-in directory.  So we must navigate up one directory to reach our plug-in's root, and another level to reach the "virtual" location of all plug-ins.   Then we can refer to the org.eclipse.help plug-in.

In the body of your documentation, you invoke the liveAction script.  

<a href='javascript:liveAction(
	"org.eclipse.platform.doc.isv", 
	"org.eclipse.platform.doc.isv.activeHelp.ActiveHelpOpenDialogAction",
	"")'>Click here for a Message.</a>

The parameters for liveAction are