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

Need help with java script

Explorer ,
Feb 24, 2012 Feb 24, 2012

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

Views

494

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

LEGEND , Feb 24, 2012 Feb 24, 2012

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!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

Votes

Translate

Translate
LEGEND ,
Feb 24, 2012 Feb 24, 2012

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!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

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
Explorer ,
Feb 24, 2012 Feb 24, 2012

Copy link to clipboard

Copied

LATEST

Of course!  That fixed it! Thanks for the quick and helpful response.

~Margaret Becker

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