Monthly Archives: August 2012

The following function returns the relative path to the project start page. Usefull if you want to create dynamic links. This script works with WebHelp and CHM. function RootPath() { try{ var path = _getRelativePath(document.location.toString(), gsStartPage); } catch(e) {//Normally this happens because we’re in a CHM var CHM = function () { var location = …

 

When coding buttons and other links, you may want to retrieve the context sensitive URL to a topic. This is useful for sharing a direct link to the topic. The following function will return the context sensitive URL of a specific topic. If the skin is shown, the function will return a URL that will …

 

If a title in the table of contents is very long, the TOC may automatically scroll horizontally. To stop this, open whthost.js. Find the function syncInitand locate the line aIdList[aIdList.length-1].focus();. Now comment out the line like this: gsCTPath=gsTP; HighLightElementTOC(aIdList[aIdList.length-1],gsABgColor,”transparent”); //aIdList[aIdList.length-1].focus(); gsTP=null;

 

When you open the WebHelp, you sometimes want the TOC to be closed. To make sure the TOC is not visibile when the WebHelp opens, you need to modify your output. RoboHelp 10 Open whskin_frmset01.htm. On line 66, change 220,* into 0,*. RoboHelp 8 and 9 Open whskin_frmset01.htm. On line 53, replace 220 with 0. …

 

Make WebHelp TOC Wrap

Entries in the TOC normally don’t wrap when the TOC becomes to small. To get the TOC entries to wrap, you need to modify the output file whthost.js. Note: Line numbers are for RoboHelp 8/9/10/11. Making the text wrap Open whthost.js and go to line 665. Remove width=”+nWidth+”so the line looks like this: document.write(“<table border=0><tr><td>”); …

 

You can automatically expand drop-downs and expandspots when your output opens. To do this, you need to make a small change to your ehlpdhtm.js file. This method works with the following outputs: Version / Output AIR CHM FlashHelp WebHelp RoboHelp 10 Yes Yes Yes Yes RoboHelp 9 Yes Yes Yes Yes RoboHelp 8 No Yes …

 

In WebHelp, the buttons for the TOC, index, search and glossary will only make the navigation pane visible: When the TOC is already opened, clicking the TOC button again will not hide the TOC. With the attached script you can create buttons that will show and hide the navigation pane based on the opened pane. …

 

When a user opens a topic in WebHelp directly, the navigation pane is not visible. In the properties of the SSL, you can choose to show a link when a topic is opened directly. With a simple script, you can force WebHelp to always show the navigation pane. RoboHelp 9 and below For RoboHelp 9 …

 
Adobe RoboHelp: Change WebHelp Search Pane Highlighting

When you click a term in the search results, the selected page is highlighted by a gray background. With some changes, you can style the hi ghlight any way you like. To do this, you have to modify your output files. This means that you need to copy the modified files in your output every …

 
Adobe RoboHelp: Change WebHelp Index Highlight

When you click a term in the index, the selected term is highlighted by a gray background. With some changes, you can style the highlight any way you like. To do this, you have to modify your output files. This means that you need to copy the modified files in your output every time you …

 
Updating…
  • No products in the basket.