I am new to RoboHelp (using RoboHelp 6) and have created a
WebHelp project that is called from a web application. I am having
the exact same problem. When I call context sensitive help topics
from IE 6 the help opens just fine. When I call it from FireFox 2 a
dummy window opens that is blocked by the pop up blocker. If I
"Allow pop ups" for the site the next time I launch the help, the
dummy window shows but then closes and the help opens in the new
window.
I have read through the help and we are calling the help
using:
<A HREF='javascript:RH_ShowHelp(0,
"context-WebHelp/startpage.htm>Mainwindow", HH_HELP_CONTEXT,
10)'>
as described in the RH help and on the pages linked to from
www.grainge.org.
Looking at the javascript file: RoboHelp_CSH.js the
ShowWebHelp function contains a condition based on the browser. The
condition creates the dummy window if you are using anything but
IE4 or IE5. Does anyone know why the following is part of the API:
else if (gbNav4)
{
var sParam =
"left="+screen.width+",top="+screen.height+",width=100,height=100";
window.open(a_pszHelpFile, "__webCshStub", sParam);
}
Can i just go in and modify the script not to do this? I
don't want to start mucking with the script if there is a reason
why the dummy window must be created.
Further, i was able to see an example of this by going to
http://www.techscribe.co.uk/ta/web-to-help.htm.
When I clicked on the Basic Topic 1 link from that page (under
context sensitive help). When using Firefox, the dummy window opens
and because I had never been to that site, the site was blocked by
the pop up blocker.