I implemented your highlight.js code to provide highlighting in search results but found that in my topics it caused a problem with the DHTML drop-downs.
I tried both the onload and outside body method of calling the highlight function, but both of these caused the same problem. Although I should say that RoboHelp 7 moves any script that you put after </body> back into the body when you save the changes, and I don't know if this is part of the problem too.
In the generated webhelp, when you open a topic from the TOC the drop-downs work fine. However, if you open the same topic from the Zoom search results, then the drop-downs will not expand. I assume that there's some issue with the RH drop-down JavaScript and the Zoom highlight JavaScript. So I posted a question on the RoboHelp forum, but the only reply suggests that I ask you.
I don't know much about JavaScript or HTML, so have found your documentation really helpful. However, it does mean that after trying your suggestions I've no other ideas to try. Many thanks for your help so far.
I tried both the onload and outside body method of calling the highlight function, but both of these caused the same problem. Although I should say that RoboHelp 7 moves any script that you put after </body> back into the body when you save the changes, and I don't know if this is part of the problem too.
In the generated webhelp, when you open a topic from the TOC the drop-downs work fine. However, if you open the same topic from the Zoom search results, then the drop-downs will not expand. I assume that there's some issue with the RH drop-down JavaScript and the Zoom highlight JavaScript. So I posted a question on the RoboHelp forum, but the only reply suggests that I ask you.
I don't know much about JavaScript or HTML, so have found your documentation really helpful. However, it does mean that after trying your suggestions I've no other ideas to try. Many thanks for your help so far.
Comment