In Robohelp 11 I am experimenting that some pages aren’t showed either in the Robohelp’s preview or in the browsers.
I have seen in the output file some code lines and scripts that I am sure Robohelp added by itself. I am experimenting that some pages are showed with that “extra” code lines and some do not.
In some cases, if I delete the code of that file, the pages are showed in a normal way.
In the beginning I was sure that the problem was due to the added code in the files, but when I copy and paste some pages with the problem, the pasted page (the new page) doesn’t have any problem and it is showed in a normal way. And also if I compare the html output of both pages, it is the same.
This is the code which I am talking about:
<style type="text/css">
/*<![CDATA[*/<!--
div.WebHelpPopupMenu { position:absolute;
left:0px;
top:0px;
z-index:4;
visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
/*]]>*/</style><script type="text/javascript" language="JavaScript">
//<![CDATA[
function reDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { origWidth = innerWidth; origHeight = innerHeight; onresize = reDo;
}
onerror = null;
//]]></script><script type="text/javascript" language="javascript1.2">
//<![CDATA[ <!-- var linkedScrollbarStyle = "<link rel='stylesheet' href='../../../../../wf_topics.css'>"; if( (!isTopicOnly()) &&(parent.gbFHPureHtml == null) ) { document.write(linkedScrollbarStyle); } //-->
//]]></script><script type="text/javascript" language="javascript1.2" src="../../whmsg_nc.js" charset="utf-8"></script><script type="text/javascript" language="javascript" src="../../whver_nc.js" charset="utf-8"></script><script type="text/javascript" language="javascript1.2" src="../../whutils_nc.js" charset="utf-8"></script><script type="text/javascript" language="javascript1.2" src="../../whproxy_nc.js" charset="utf-8"></script><script type="text/javascript" language="javascript1.2" src="../../whlang_nc.js" charset="utf-8"></script><script type="text/javascript" language="javascript1.2">
//<![CDATA[<!--
if (window.gbWhTopic)
{ var strUrl = document.location.href; var bc = 0; var n = strUrl.toLowerCase().indexOf("bc-"); if(n != -1) { document.location.href = strUrl.substring(0, n); bc = strUrl.substring(n+3); } addTocInfo("Servicios\nAutorización Débitos Automáticos\nOpciones\nAplazamientos");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"../../../../whd_show0.gif","../../../../whd_show2.gif","../../../../whd_show1.gif");
addButton("hide",BTN_TEXT,"Hide","","","","",0,0,"../../../../whd_hide0.gif","../../../../whd_hide2.gif","../../../../whd_hide1.gif");
addButton("prev",BTN_TEXT,"<<","","","","",0,0,"../../../../whd_prev0.gif","../../../../whd_prev2.gif","../../../../whd_prev1.gif");
addButton("next",BTN_TEXT,">>","","","","",0,0,"../../../../whd_next0.gif","../../../../whd_next2.gif","../../../../whd_next1.gif"); document.write("<p style=\"text-align:right\"> ");
AddMasterBreadcrumbs("../../../../Ayuda.htm", "", ">", "Home", "../../../LIM/Lim_NEW/Parametros_/Rechazar.htm");
document.write("<a href=\"../../../ACV/Cuentas_de_Valores/ACV.htm\">Servicios<\/a> > <a href=\"Autorización_Débito_Automático.htm\">Autorización Débitos Automáticos<\/a> > <a href=\"Por_enviar.htm\">Opciones<\/a> > Aplazamientos<\/p>");
}
else if (window.gbIE4) document.location.reload();
onLoadHandler = function()
{ if (window.setRelStartPage) { setTimeout("setRelStartPage('../../../../Ayuda.htm');", 1) setTimeout("UpdateBreadCrumbsMarker();", 1); }
}
if (window.addEventListener){ window.addEventListener('load', onLoadHandler, false);
} else if (window.attachEvent){ window.attachEvent('onload', onLoadHandler);
}
function onSetStartPage()
{ autoSync(0); sendSyncInfo(); sendAveInfoOut();
}
//-->
//]]></script><script type="text/javascript" language="javascript1.2">
//<![CDATA[<!--
if (window.writeIntopicBar) writeIntopicBar(4);
//-->
//]]></script>
My questions are:
1. What is the utility of the code that robohelp add, is it necessary?
2. There are some way to avoid robohelp add this code to html output, with some configuration of robohelp?
3. Why duplicating a page, the new works correctly and the other don’t, when both html outputs are the same?
I think that the problem may be due to an update of Robohelp, since previously it did not present the problem, and only happens with some pages of the project. I appreciate the help you can give me.