Copy link to clipboard
Copied
I have a little script that changes the color of a button graphic that I use for a popup topic.It does this, of course, by swapping out two images.
The script works just fine in RH Preview and also when the htm page is opened directly in a browser (both IE and Chrome).
However, when I open the topic in the compiled help, the second image does not display.
The one that works is in the RH Preview. The one that doesn't is in the compiled help.
Here's the code:
<a href="javascript:BSSCPopup('../MenuLocations/3DFace_menu_location.htm');"
id="a1" style="position: relative;"><img onmouseover="this.src = '../clickbutton-O.png'"
onmouseout="this.src = '../clickbutton.png'"
src="../clickbutton.png"
alt="Click for menu and toolbar locations and related topics."
border="0" />
Any ideas?
~Margaret Becker
Hi Margaret
Likely you need to add the second image to Baggage in the expected location. Because JavaScript is handling swapping the images, RoboHelp is probably unaware of the second image.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Hi Margaret
Likely you need to add the second image to Baggage in the expected location. Because JavaScript is handling swapping the images, RoboHelp is probably unaware of the second image.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Of course! That fixed it! Thanks for the quick and helpful response.
~Margaret Becker