2 Replies Latest reply on Oct 3, 2016 12:24 AM by easypay_mdb

    Automaticly Jump to part inside a topic using Map-id

    easypay_mdb Level 1

      When you use following code you can open a page xxx.htm and jump directly to a part of the screen. This by setting an id-name behind the #-sign.

      window.open("http://servername/xxxx.htm#idlink", "_blank", "toolbar=no,scrollbars=yes,resizable=yes,top=100,left=500,width=700,height=400");

       

      I use Robohelp versie 2015. I link a word-document to a project of Robohelp.

      When attempting to create a map-id (.h-file), you see in the right pane items such as

      xxxx

      xxxx#yyyy

      I assumed that xxxx#yyyy opens the topic xxxx and jumps into the topic to the item yyyy. (according to the html-code above).

      When I use the view-button, xxxx and xxxx#yyyy, the result is the same. The topic xxxx opens at the first line.

       

      I assing the following in the map-id (left pane)

      Map ID        Map #         Topic

      imgxx          1000            xxxx#yyyy

       

      By using the script RoboHelp_CSH.js, you can call the function RH_ShowHelp.

      <a href='javascript:RH_ShowHelp(0, http://servername/xxxx.htm>largeWindow", HH_HELP_CONTEXT, 1000)'><img id="imgxx" name="imgxx" align="absMiddle" SRC="blue_question.png" height="10"></a>

      I open a frameset starting from the page index.htm, which opens the page xxxx.htm at the right screen.

       

      Is it possible to jump to a part of the page xxxx.htm by using the function RH_ShowHelp, just like the way I open a page directly (see window.open(...) above )?

      When you selectively can jump to a specific part, the advantage is, that you can scroll directly to another part without using the TOC.