Skip to main content
December 16, 2014
Question

Image Map Links Not Working

  • December 16, 2014
  • 1 reply
  • 784 views

I have created an Image Map which includes hyperlinks to display in frame and also in auto-sizing popups.  These links work correctly if the topic is opened from the table of contents but if the topic is opened from a link within another topic the image map links don't work: when the display in frame link is clicked no message is displayed and the topic closes;  when the popup link is clicked the following Script Error is displayed:

   

The helpfile was created in an earlier version of Robohelp, version 7 I think, and I have now upgraded to Robohelp 11.  In the previous version the popup links in the image map also did not work but the display in frame links did.

 

I’ve tried creating a new helpfile using Robohelp 11 and both links work correctly.

 

I read a previous post about ‘popups not auto-sizing’ and wondered if the following fix would resolve my issue but it didn’t have any effect:

   

After investigation we found out that the issue was with our script files.

You can make the changes in those two problematic files yourself. You have to make same change in both files.

Files will be located at :

..\RH10installDirectory\RoboHTML\eHlpDhtm.js e.g. C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\eHlpDhtm.js

..\RH10ProjectDirectory\eHlpDhtm.js e.g. C:\Users\UserName\Documents\My RoboHelp Projects\Adobe RoboHelp 10\Samples\EmployeeCare\EmployeeCareProject\eHlpDhtm.js

Go to line no 61(or 62) which would look like ->

var gbInsideCHM = document.location.href.search("::")>0 && document.location.href.search(“chm”)>0;

Now change it to ->

var gbInsideCHM = document.location.href.search("::")>0 && document.location.href.search(/chm/i)>0;

 

Has anyone had the same issue or know how to fix this?  

This topic has been closed for replies.

1 reply

Captiv8r
Legend
December 16, 2014

Hi there

Have you tried closing all topics and clicking Tools > Update DHTML Effects in Topics?

If not, I'd suggest trying that to see if it corrects the issue.

Otherwise, file a bug report at: http://www.adobe.com/go/wish

Cheers... Rick

December 17, 2014

Hi Rick

Thanks for your suggestion but unfortunately it didn't resolve the issue

I will file a bug report

Elaine

Peter Grainge
Community Expert
Community Expert
December 18, 2014

There's a feint bell ringing that image maps did break in an upgrade along the way and that the only solution was to  recreate them.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.