Skip to main content
January 20, 2011
Question

Invoking Context Sensitive Help with a TOC

  • January 20, 2011
  • 2 replies
  • 740 views

I have searched around the forums and it seems I may be in the wrong area with this thread that I found (http://forums.adobe.com/thread/38858) but I have been unable to find a way to get to the developer side of things.  If someone can direct me it would be great but if you have an answer even better 🙂

I have integrated WebHelp with our web application and can successfully launch context-sensitive help by itself.  When I want to display a TOC, index or search with it, it seems I can only display the default topic and not the context sensitive one.

Successful: RH_ShowHelp(0, 'help/en-us/WebHelp/Index.htm>helpWin', HH_HELP_CONTEXT, 42);

Fail: RH_ShowHelp(0, 'help/en-us/WebHelp/Index.htm>helpWin', HH_DISPLAY_TOC, 42);

I have been around the internet and found various sites that talk about how it is not possible to have a TOC show anything but the default topic and it just seems a bit off that this is not possible. I have also found sites mentioning some hacks to the javascript files but it seems that that was for older versions of RoboHelp.

I am currently using WebHelp generated by RoboHelp 8.  If anyone can help or at least direct me to a forum where I can get this question answered, it would be greatly appreciated.

Thank you 🙂


Matt

This topic has been closed for replies.

2 replies

January 20, 2011

So I did find my answer thanks to Tyler at a sub-link where you pointed me to Rick.  I was implementing it with a bit of confusion from the RH_ShowHelp.  I was using TopicID instead of TopicNumber so by changing one keyword, all was good :-)  Also helps that Visual Studio 2010 allows javascript debugging ;-)

HRef = "help/en-us/WebHelp/Index_csh.htm#TopicNumber=42,withnavpane=true"

I am, however, going to implement the TopicID way within my code when all is said and done.  It provides much better readability.

Thanks!

Matt

Captiv8r
Legend
January 20, 2011
January 20, 2011

Nope.  Will go there now!

Thanks :-)

Matt