Skip to main content
Participating Frequently
December 12, 2016
Answered

RH 2015 Merged Help Project Stripping CSS

  • December 12, 2016
  • 2 replies
  • 351 views

Hello,

I have two issues with my merged help.

  1. I've gotten everything to merge but now RH is stripping out the custom CSS file in the child projects in the generate folder. As a result, when I view the child help, the custom graphics are missing and the text styling is missing. I can add the CSS file back into the child project in the generate folder but that is a maintenance nightmare. Should I use an absolute path to the stylesheet and where should the stylesheet reside? Fixed. Needed to click Apply to All Topics in the WebHelp Settings>Content Categories>Content<Default> options.
  2. The child topics have a Show link at the top left. It is not a breadcrumb. When I click the link it displays the entire child help system in the content window with the current topic active. RH is inserting some JavaScript into the body. Show needs to go away It is:

<!--

if (window.gbWhTopic)

{

  var strUrl = document.location.href;

  var bc = 0;

  var n = strUrl.toLowerCase().indexOf("bc-");

  if(n != -1)

  {

  document.location.replace(strUrl.substring(0, n));

  bc = strUrl.substring(n+3);

  }

  if (window.addTocInfo)

  {

  addTocInfo("Symbols\nAssemblies\nUDA - Equipment");

addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

  }

  if (window.writeBtnStyle)

  writeBtnStyle();

  if (window.writeIntopicBar)

  writeIntopicBar(1);

}

else

  if (window.gbIE4)

  document.location.reload();

onLoadHandler = function()

{

  if (window.setRelStartPage)

  {

  setTimeout("setRelStartPage('../../index.htm');", 1)

    setTimeout("UpdateBreadCrumbsMarker();", 1);

  }

}

if (window.addEventListener){

  window.addEventListener('load', onLoadHandler, false); 

} else if (window.attachEvent){

  window.attachEvent('onload', onLoadHandler);

}

function onSetStartPage()

{

  autoSync(1);

  sendSyncInfo();

  sendAveInfoOut();

}

//-->

//]]></script>

Ginger Shew-Stuckey

Peter Grainge​@

This topic has been closed for replies.
Correct answer Peter Grainge

The only thing I can think of with Show Link is that you have enabled that setting in the layout.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

2 replies

Ginger_SAuthor
Participating Frequently
December 13, 2016

Hi All,

The fix was in the WebHelp Settings dialog box. Click Navigation > Show Navigation Pane Link in Topics. I did this for both the parent and the child files.

Peter Grainge
Community Expert
Peter GraingeCommunity ExpertCorrect answer
Community Expert
December 13, 2016

The only thing I can think of with Show Link is that you have enabled that setting in the layout.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

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