Create goto links to custom icons, Link to assets in the html resources folder, Create links to external apps and services – Adobe Digital Publishing Suite User Manual
Page 88
Jump from HTML to HTML
InDesign source document
HTML article
Web Content overlay
Note:
Use the navto format to jump from one HTML article to another using the folder name. Example:
Create goto links to custom icons
You can create buttons that go to the library, to the list of sections, or to the last view (Back button). Use any of these goto:// formats in a button
action:
goto://ApplicationViewState/library
goto://ApplicationViewState/sections
goto://FolioNavigation/lastview
These goto:// formats are not supported in the legacy AIR-based Android viewer. Only the "library" and "lastview" formats are currently supported
in the native Android viewer.
If you have an Enterprise DPS account, you can use the goto format to create links from articles to the HTML content associated with custom
icons. For example, you can use the DPS App Builder to specify custom icons for “Store,” “Help,” and “Terms.” These buttons appear in the viewer
library. To create a button in an article that opens the HTML content for any of these custom icons, use the following format:
goto://ApplicationViewState/[label]
For example, the goto://ApplicationViewState/Store button action would open the HTML store—just like tapping the custom Store icon in
the library.
Use the DPS App Builder to create custom icons and specify labels. See Navigation Toolbar (Enterprise only).
Link to assets in the HTML Resources folder
You can create a hyperlink or button that displays a local HTML, image, or PDF file in the viewer’s in-app browser.
1. Add a folder containing the local HTML file to the HTMLResources folder.
Make sure that the HTMLResources folder is included in the folio. See Import HTMLResources folder.
2. Create a link to display the HTML file in the in-app browser:
In the URL field of either a hyperlink or button, enter the path without http://, navto://, or any other prefix.
Example:
HTMLResources/Cartoons/train1.html
From an HTML article, specify the location. Example:
Web Content overlays are nested two levels deeper than an HTML article. Example:
For best results, avoid spaces and special characters in your HTML folders and files. If you include a space in a folder or file name,
use the appropriate HTML code for the space character. For example, use “Cartoon%20Files” for a folder called “Cartoon Files.”
Create links to external apps and services
85