Skip to main content
Known Participant
April 24, 2018
Answered

How do I control the location of popups in a chm topic?

  • April 24, 2018
  • 1 reply
  • 2094 views

I am working with RoboHelp 2015 (12.0.4.460) I have some legacy projects for chm help. I don't actually know how old the project files are. There are images in the topics with  hyperlinks to other topics. The links are displayed in auto-sizing popups.

In one project, everything works just fine. When you click the hotspot, the popup opens adjacent to the image.

In the other project, when you click an image hotspot, the popup  opens at the top left of the topic pane. That's awkward, but usable, if  the original topic is short enough. But most of these topics are long, and the popups are off the visible frame. When you try to scroll to them obviously they are dismissed. So that content is unreachable. I have compared the html code for the image maps and the eHlpDhtm.js files in each project. There doesn't seem to be any difference that could explain the different behavior. 

Interestingly, the location issue relates only to popups called by image maps. If there are other links to popup topics in the text, they behave as expected. And if you open one of those regular popups in a topic, and then open one from an image map, the popup is anchored at the location of the regular popup.

All suggestions are welcome.  Thank you.

This topic has been closed for replies.
Correct answer Peter Grainge

I didn't realize the script  isn't part of RoboHelp. The business process for acquiring new software (even free software) makes it not worth pursuing this idea. Other reservations I have include preserving context sensitive links  and wrestling with the source control system. Sadly, I have already spent more time on this than I should.

Thanks again for the suggestion. I wish I could try it.


The script is part of RoboHelp. Look in Tools > Scripts and look for Convert WebHelp to CHM.It will take less than one minute to try it.

I believe the CSH will be OK but the test will not affect your existing CHM if you have to revert to that. As to source control, you have to check things out to create the CHM you are using. All that changes here is you have some additional files to check back in, as far as I can see.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

1 reply

Peter Grainge
Community Expert
Community Expert
April 25, 2018

In the absence of anyone responding to this one, I suggest you contact Adobe Support, it's free.

There was an issue like this some years back but I thought it was in a much older version of RoboHelp. Maybe Adobe can dig out the cause.

I guess it might be worth creating a new project with one topic to see if that replicates the issue.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
juliaHalAuthor
Known Participant
April 25, 2018

Thanks Peter, I will contact Adobe support. That's a good idea.

I have many projects, some new, some legacy, and this is the only one where I am aware of the problem. I have considered recreating this project and hoping that would somehow eliminate the problem, but the project is huge and intricate.

juliaHalAuthor
Known Participant
April 26, 2018

The source of the problem seems to be conflicts between the javascript for the popups and other javascripts on the same page for expanding text and for drop down text. Since I don't know much about javascript, I'm taking the brute force approach of converting the drop down text to regular text and deleting the expanding text. It's not the ideal solution, but at least the pop ups will work.