4 Replies Latest reply on Jan 8, 2007 1:20 PM by flatk

    search word results highlighted

    flatk
      I am currently using RoboHelp x4. When a user uses the search function, I would like the particular word they are seaching for to be highlighted on all pages that return results. How do I go about doing this?
        • 1. search word results highlighted
          Captiv8r Adobe Community Professional & MVP
          Hi flatk

          Whether or not you see search term highlighting will depend on the output format you are creating. Unfortunately, we haven't much to go on. RoboHelp exists as basically two products. RoboHelp for Word (where Word is used as your editing environment) and RoboHelp HTML. Each RoboFlavor is capable of producing a variety of ouptut formats. WinHelp, HTML Help, WebHelp, FlashHelp, etc.

          Basically, search terms can be highlighted (I believe) in only WinHelp and HTML Help output formats. WebHelp can be coaxed into doing it, but will require modifying the scripting used. I don't believe it's possible in FlashHelp.

          And in case you are interested, the forum posting guidelines can be viewed by clicking here.

          Sincerely... Rick
          • 2. Re: search word results highlighted
            flatk Level 1
            I can write some javascript code to do this but don't know where to put it at. When doing a search in RoboHelp, the page results show in the left column. Where do I put the code to have each one of these pages show the highlighted term when clicked?
            • 3. search word results highlighted
              AuthorAnne Level 1
              Hi flatk,

              No need to reinvent the wheel. If you want search highlighting in WebHelp, Peter Grainge has written up how to achieve this. Click here to view the relevant page on Peter's site.

              Anne

              Edit: Oops. Just noticed that the method Peter describes is for RoboHelp X5 and you are using X4. So maybe this won't be so useful after all.
              • 4. Re: search word results highlighted
                flatk Level 1
                It works for X4. Thanks for everyones replies.