• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Apr 24, 2018 Apr 24, 2018

Copy link to clipboard

Copied

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.

Views

1.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 27, 2018 Apr 27, 2018

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

Votes

Translate

Translate
Community Expert ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 26, 2018 Apr 26, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

I wonder if generating the output as WebHelp and then running the script to convert the WebHelp to a CHM would get round the problem.


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

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

What an interesting idea. I will give it try before I go converting all the drop down text.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

Brilliant! it worked!  I haven't tested context sensitivity yet, but I will do that in a bit.

I hope to make some tweaks, though.The resulting  chm uses a different style sheet. I'm not going to sweat that if there is no easy way to fix it, but I'd like to try. Is there documentation for this script somewhere? I tried the RoboHelp help and a google search and didn't find anything that looked right.

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

Context sensitivity is preserved! Thanks again. I'm going to post a new question about documentation for this script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

Your topic CSS should not be changed. The output will of course look like the WebHelp skin but that does not affect the CSS. Check your settings.

On documentation, follow this link Webinars – Adobe Technical Communication Blog and search for scripting.


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

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

LATEST

OK, thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp