|
chm2web uses the following sections when creating the mobile
version of a browser-based online help system:
If your template contains these sections, do not forget to add
the word "MOBILE" to the BODY.INFO\TARGETS variable, which will
indicate that this template supports generating the mobile version
of the help system.
Bear in mind that mobile devices are limited in means of
displaying html pages, that is why you should use only basic HTML
tags.
[MOBILE.CONTENTS.BODY]
This code is used to display the page containing the table of
contents.
The contents navigator is a list of contents page numbers with
hyperlinks to them: (1, 2, 3,... 25). The code used to display the
navigator must be between ##SPLIT_CONTENTS_BEGIN## and
##SPLIT_CONTENTS_END## and can contain the following variables:
#PAGE.CURRENT#
Contains the number of the current contents page.
#PAGE.PREV.URL#
Contains the url of the previous contents page.
#PAGE.NEXT.URL#
Contains the url of the next contents page.
#CONTENTS.PAGEN#
Contains the list of all page numbers in the table of contents
with hyperlinks to them.
Besides, the [MOBILE.CONTENTS.BODY] sections must contain the
#CONTENTS.TREE# variable that will be substituted with the table of
contents.
[MOBILE.BODY]
chm2web uses the code of this section as a template for creating
all pages in the mobile version of the help system:
#PREV.URL#
Contains the url to the previous page in the help system.
#NEXT.URL#
Contains the url to the next page in the help system.
#MOBILEC.URL#
Contains the url to the page containing the help system
contents.
#PAGE.BODY#
Contains the html code of the current page in the help system.
This variable must be present the [MOBILE.BODY] section.
|