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

Rolling over image/link in CHM displays image errror indicator

Guest
Jun 27, 2011 Jun 27, 2011

Using Windows XP / RH7.

Hello.  A co-worker needs to supply the same project in both CHM and Webhelp versions.  She has recently worked with our design guy to introduce some new graphics and as part of that he did some css work and added some javascript.  Neither my co-worker or myself are familiar with Java.

One of her topics includes a graphic menu that is set up as a table with an image/link in each cell.  Mousing over each graphic pulls a second image file that displays the same image but with a tint to it, basically conveying the idea that this image is active, awaiting your click.

In the CHM output when you place the mouse pointer over one of the cell graphics the tinted image displays, but it also displays a small square with a red X in it, which has always meant to me that the image wasn't found or some error is occurring.

In the WEBHELP output this problem does not happen.  In both cases the link works and when clicked takes you to the intended target.

The screen shot below provides an illustration of what is happening.

Below the screen shot is the code that is displayed when I mouse over a cell and then right-click and select "Inspect Element" in Firebug.

Since I am not conversant in java I don't really know what other evidence I should be providing here, but I'm hoping this is at least a start.   I'm also hoping that the fact that the problem only surfaces in the CHM may make it evident to a more knowledgeable user what could be going on.

Thanks in advance for any help you can provide.

Joe

whole.gif

<tr>

<td style="padding: 1px;">

<implicit_p>

<a href="mergedProjects/lcri/lcri/Contents.htm">

<img id="Image16" height="58" border="1" width="125" style="width: 125px; height: 58px; border-width: 1px; border-style: solid;" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','rollover/LRCI.jpg',1)" alt="none" src="http://www.itsmarc.com/crsbeta2/images/LRCI.jpg">

</a>

</implicit_p>

828
Translate
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 ,
Jun 27, 2011 Jun 27, 2011

I suspect the chm doesn't cope with the external URL. If you have rights to the image, you could try including it in the project baggage files and changing the reference to a relative link.

P.S. not related to your problem, but just to be clear, javscript and Java are two very different beasts. What you have posted is javascript.

Translate
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
Guest
Jul 05, 2011 Jul 05, 2011

Thanks for the response.  Changing the external URL to a relative path did not solve the problem.   They have abandoned the hover feature for this release and hope to resolve it by the next one.    I'll post the solution if one is arrived at.  Thanks again.

Joe

Translate
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 ,
Jul 05, 2011 Jul 05, 2011

They have abandoned the hover feature for this release and hope to resolve it by the next one.

Where did that information come from please?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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
Guest
Jul 05, 2011 Jul 05, 2011

If I am interpreting your question correctly, I did not mean to imply that Adobe has abandoned anything.  I should have said, "our developers have abandoned the hover feature in this project."

Translate
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 ,
Jul 05, 2011 Jul 05, 2011

Yes my concern was that someone had told you Adobe had abandoned this feature.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 ,
Jul 05, 2011 Jul 05, 2011

When you get the chance, can you confirm that both images either display within Robohelp in the Images folder or in the Baggage Files folder?

You might have to poke around in RH, as I only have RH6 available to me at the moment, and I know RH8 and RH9 display the files differently but can't remember the specifics. Peter might be able to confirm these locations in new RH versions.

I just want to make sure the project specifically knows about the images, as for .chm even a relative external path might be the issue. (It might also be that chm can't display this rollover effect, but this eliminate one variable.)

Amber

Translate
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 ,
Jul 05, 2011 Jul 05, 2011

The second image would need to be added as a baggage file but as it works in WebHelp I'm guessing that has already been done.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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 ,
Jul 06, 2011 Jul 06, 2011

This may be the case, but I think webhelp handles external content better as it is by design a "web" solution. Hence why I want to clarify.

Translate
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 ,
Jul 06, 2011 Jul 06, 2011
LATEST

I think I'm having a slow day as wasn't following. My thinking was if the images are in baggage, they are not external. I've used javascript to changes images in CHMs on click so I'm thinking rollover should also work.

Looking at the original post again I see what you are getting at, the second image is on a web site. It seems the solution is to simply copy that image to the project.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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