3 Replies Latest reply on Aug 5, 2008 10:51 AM by Peter Grainge

    Calling WebHelp From Web Page

    ^^&&^^ Level 1
      Greetings,

      First off, yes I did check the forums and went to pages authored and linked by Daigle [1], Grainge [2] and others. Those are great pages, yet for me a problem remains.

      When help is called:

      (1) A *small* window opens in the bottom right-hand corner of the screen.

      (2) The window seems to ignore the context-sensitive call. No matter which numeric value I specify for the call, the web page always opens to first page of the project.

      (3) This behavior is also observed when using John Daigle's sample:
      http://download.macromedia.com/pub/developer/context_help_pt2.zip

      ~~~ Gory Detail ~~~

      I have this lin in the HEAD section of the page.
      <script type="text/javascript" language=JavaScript1.2 src="RoboHelp_CSH.js"></script>

      <p>Click for <a href='javascript:RH_ShowHelp(0, "./path/FileName_csh.htm>webhelp", HH_HELP_CONTEXT, 10)'>Help 10</a></p>

      I am using FireFox on Xp.

      Any advice you could provide on this subject would be helpful. Thank You!



      [1] http://www.adobe.com/devnet/robohelp/articles/context_help.html#
      [2] http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm
      http://www.grainge.org/pages/authoring/calling_webhelp/using_map_ids_merged.htm
        • 1. Calling WebHelp From Web Page
          ^^&&^^ Level 1
          Any ideas? I am contemplating going to straight HTML rather than help, but would like to continue to use RH for this process as it allows me to add value to the user experience in other ways index, search etc. I do need to decide soon!
          • 2. Re: Calling WebHelp From Web Page
            MergeThis Level 4
            I'd suggest using that time productively, by revisiting John's and Peter's tutorials, which are the gold standard.

            We've been using Peter's "Using URLs" method (which eliminates the need for CSH calls) for four years, now, with no problems.


            Good luck,
            Leon
            • 3. Re: Calling WebHelp From Web Page
              Peter Grainge Adobe Community Professional (Moderator)
              I set something up for someone else so click this link and see it work.

              http://www.grainge.org/test/cshcall/startpage.htm#csh.htm

              For help on your local drive, the call would then be something like

              file:///C:/rh7_test/!SSL!/WebHelp/startpage.htm#csh.htm

              With this method you are not using the RoboHelp_CSH.js file. Is that something you have added to the source or to the output.

              Create a simple project that has a default topic and a topic that you want to call when opening the help, call that Context topic as I have in the example. When you generate the help locally, change the start page name in the wizard to startpage.htm. That way you have startpage.htm, default.htm and csh.htm. Makes it simple to see what is going on.