Hi all,
I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed to test the javascript in a straight HTML page which works, but I can't seem to be able to get this to work in PHP.
function callHelp( $helpURL )
{
$language = "javascript";
$src = "include/RoboHelp_CSH.js";
echo "<script src=$src language=$language> RH_ShowHelp( 0, $helpURL, HH_HELP_CONTEXT, $currentId ) </script>";
}
Any ideas on where am I going wrong?
Thanks in advance,
darkagn