Template is html file that contains tags. The tags can be replaced with special information of each topic when WinCHM makes pages.
The tags that can be used in template:
($title$) | The title of the topic. |
($content$) | The content of the topic. |
($navigation$) | Show topic path. |
($prev$) | The text link that links to the previous topic. |
($next$) | The text link that links to the next topic. |
How to create image Previous and Next link?
Prepare images "btn_prev_n.xxx" , "btn_next_n.xxx" ("xxx" can be gif, png and jpg. ) and place them under the same folder as the template file. Edit the template file and Insert the image files into it.
If you want "gray" images when there is no link on the image, you should prepare other two images "btn_prev_g.xxx", "btn_next_g.xxx" and place them under the same folder.
btn_prev_n.xxx | Normal Previous button. |
btn_next_n.xxx | Normal Next button. |
btn_prev_g.xxx | Gray Previous button. On the first topic, the Previous button will be gray, because there is no link on it. |
btn_next_g.xxx | Gray Next button. On the last topic, the Next button will be gray, because there is no link on it. |