When you click on an expanding inline text toggle This is the expanding text of the inline text toggle. It is formatted with a normal style that has been designed to make the text stand out from the paragraph. its text is "inserted" in the topic directly after the link, as though it had been pasted into the paragraph. This is ideal for short explanations and definitions that would otherwise disturb the flow of the topic. It is also simpler than using a popup topic and cannot trigger popup blockers in browsers.
Making inline text toggles is quick and easy. Basically, you just enter a caption, your inline text and an optional tooltip and you're done. You can also choose a style to format the inline text. 1.Click in your topic in the place where you want to insert your inline text toggle. If you want to use existing text as the toggle link text select it in the editor first. 2.Select the
See Insert Toggle for details on all the settings in the Insert Toggle dialog. 3.Enter a caption (the link text to be displayed) in the Caption: field if you did not select text in the editor for the caption. 4.Enter your inline text in the text entry box directly below the Toggle Inline Text: option. You can only enter plain text here. You can enter carriage returns with the Enter key and they will be converted to line breaks in the output. 5.Choose a style for the inline text in the Format text with style: field. It is best to define a style that makes the text stand out against the normal text in your topic. 6.Click on OK to insert the toggle, which will be displayed in your topic in the same way as other hyperlinks. |
The inline text of these toggles can only be formatted with styles. You can only apply a single style to the entire inline text and the style must be selected in the Insert Toggle dialog. You should define a style that makes the text stand out well against the rest of the text in the paragraph, otherwise the user may be confused after clicking on the toggle because the new text won't be immediately visible. Selecting a style in a new toggle:Select the style in the Format text with style: field. If you need to define a style first just save the toggle and then double-click on the toggle link in the editor later to open the Edit Toggle dialog. Applying or changing the style in an existing toggle:Double-click on the toggle link in the editor to open the Edit Toggle dialog, then select the style in the Format text with style field. |
By default, the link of your inline text toggle is displayed either with the standard hyperlink format or as plain formattable text, depending on whether the Link style option is selected in the Insert Toggle dialog. Using manual formatting and styles for the toggle links:If you deselect the Link style option the link initially has the same style as the paragraph in which it is located. You can then apply manual formatting to it or use a style to format it. •To use manual formatting select the entire toggle link and use the font formatting tools in the Write tab. You must format the entire toggle header in exactly the same way, otherwise you will have breaks in the toggle link. •To use a style select the entire toggle link and then select the style you want to use in the Style Selector in Write > Font. Using CSS styles in HTML-based output:Help & Manual exports individual CSS classes for all three toggle types. This means that you can define CSS styles in your HTML template to control both the appearance and behavior of your toggle links. (The inline-toggle class is used for expanding inline text toggles.) See Formatting toggle links for details. |
See also: