Changing the index
The index displays keywords for help topics from individual content files. The index.js file located in the <document root>\wwhdata\js directory contains the index entries. The index.js file controls the following items:
For example, in the using-ip document root, the index entry for QBE expressions, starting at the letter Q, looks like the following code:
C=B.fA("defining ad hoc parameters and",new Array("66#439403","67#439717"));C=B.fA("entering literal characters in",new Array("68#553289","68#515853"));This code establishes the following structure:
n The top-level entry, A=P.fA, is the label ''Q''. This entry links to the ''002'' frame, which is the navigation frame.
n The first entry below ''Q'' is the ''QBE expressions'' entry. This entry is one level down in the hierarchy, B=A.fA, of the index for ''Q''. ''QBE Expressions'' is merely a label and does not link to anything.
n On the next level down in the hierarchy, C=B.fA, has seven entries, one for each of the sub-topics of QBE Expressions. Each entry has a label and an array of links to topics that the user can choose.Figure 11-10 shows the hierarchy produced by this code.
Figure 11-10 The index hierarchy for using-ip
(c) Copyright Actuate Corporation 2011 |
![]() |