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

format the Related Topics found dialog box

Guest
May 23, 2011 May 23, 2011

Copy link to clipboard

Copied

Greetings -

I'm using RH8 to generate WebHelp. I want to change the format of the dialog box that displays the Related Topics found (screen shot below). I'd like to change the blue as well as the gray background. Can I do this from within RH8 or is there another way to do it?

Thanks for your help!

- Beth

forum post - colors on Related Topics dialog box.jpg

Views

523

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
LEGEND ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

Hi,

You can accomplish this by editing the styling in the function _PopupMenu_Invoke_2 in ehlpdhtm.js. (AFAIK, this cannot be done in the RoboHelp interface, but I would like to hear I'm wrong though.) Try searching for BGCOLOR in the script and apply the colours you want.

Greet,

Willam

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
Guest
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

Thank you! I'll give it a try and let you know if I have any other questions.

Appreciate your help!

Regards

Beth

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
Guest
Jun 02, 2011 Jun 02, 2011

Copy link to clipboard

Copied

LATEST

Thanks again for your suggestion. Today, I finally got back to working on RH8 issues and took a look at the function _PopupMenu_Invoke_2. In the code for that function, I found two instances of BGCOLOR and I've copied the surrounding code below. Unless I'm mistaken, this portion of the code does not control the color that I want to change, which is the blue border that appears around the Related Topics pop-up box (shown in the screen shot in my original post).

Was I looking at the wrong area of the code? I'm wondering if I need to look at something that sets the table style that's mentioned in the code below. I don't see any color references in the ehlpdhtm.js file that specify "blue" (or the hex equivalent). Can you give me any other recommendations on how to change the color from blue to something else? Thanks for your help with this and all the forum questions that you answer.

Regards

- Beth

var strMenu = "";
if (gbBsNS4&&!gbBsNS6) {
  strMenu = '<TABLE BORDER="1" CELLSPACING=0 CELLPADDING=3 BGCOLOR="#FFFFFF">';
} else {
  strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';
  if (gbBsMac) {
   strMenu += ' CELLPADDING=4';
  } else {
   strMenu += ' CELLPADDING=2';
  }
  strMenu += ' BGCOLOR=#FFFFFF>';

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