Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

7 Producing on-line Help > 7.9 Including expandable sections in Help topics > 7.9.4 Configuring drop-down links > 7.9.4.1 Specifying the type of link for drop-down sections


7.9.4.1 Specifying the type of link for drop-down sections

To specify the type of drop-down link to use for an expandable section:

[DropDowns]

; DropLinkType = Icon (default, optional text), Button, or Text (only)

DropLinkType = Icon

When DropLinkType=Icon, Mif2Go inserts an icon at the start of each drop-down link paragraph. You can specify the graphics to use for icons, and you can modify the alt text; see §7.9.4.2 Configuring icons for drop-down links.

When DropLinkType=Button, Mif2Go inserts a button in each drop-down link paragraph. You can specify the label on the button; see §7.9.4.3 Configuring buttons for drop-down links.

When DropLinkType=Text, the link consists only of text: either default text, or the text of a paragraph or character span in your document; see §7.9.4.4 Configuring text for drop-down links.

Regardless of link type, Mif2Go inserts icon, button, or default text ahead of whatever text is already present in each drop-down link paragraph. If you have not designated a drop-down link paragraph, Mif2Go creates a paragraph for the link, just before each drop-down block.

By default, Mif2Go includes JavaScript code that works for all types of drop-down links. However, you can choose to have Mif2Go include JavaScript code only for the type of link you specify via DropLinkType; this results in slightly less JavaScript code.

To restrict JavaScript drop-down code to the link type specified by DropLinkType:

[DropDowns]

; UseCompositeDropJS = Yes (default, use JS that works for all

; settings of DropLinkType), or No (use JS specific to current

; DropLinkType setting, slightly less JS code)

UseCompositeDropJS = No

When UseCompositeDropJS=No, all drop-down sections in a given FrameMaker file must use the same type of drop-down link, because the type determines the JavaScript that is included or referenced in the output. See §7.9.7 Deploying JavaScript code for drop-down sections.



7 Producing on-line Help > 7.9 Including expandable sections in Help topics > 7.9.4 Configuring drop-down links > 7.9.4.1 Specifying the type of link for drop-down sections