Please insert ($WEBSITEJS$) into the position where the hyperlink "Show Navigation Frame" shows in ContentTemplate. If a content page is individually opened in a browser window, the "Show Navigation Frame" hyperlink will appear; Clicking this hyperlink can show the navigation frame. This tag is a must in Website format templates.
Tag ($WEBSITEJS$) in CHM templates will be replace as nothing when output so that ContentTemplate can be used in common by CHM template and Website template.
To get a template's template, copy from (installation folder)\tst\website\.
Legal tags in Website format:
| Tag | Description |
|---|---|
| ($PROJECTTITLE$) | Project Title. |
| ($CHARSET$) | Charset. |
| ($TITLE$) | The title of the topic. |
| ($CONTENT$) | The content of the topic. |
| ($PREVIOUSPAGE$) | The file name of the previous page. |
| ($NEXTPAGE$) | The file name of the next page. |
| ($DEFAULTPAGE$) | The file name of the default page. |
| ($WEBSITEJS$) | Insert "Show Navigation Frame" link script. |
| ($NAVIGATION$) | The table of contents in Website format. |
| ($THISFILENAME$) | The current content page's filename. |
| ($SEQUENCE$) | The current content page's number. |
Example
A ContentTemplate in a Website template:
<html>
<head>
<title>($TITLE$)</title>
<meta http-equiv="Content-Type" content="text/html; charset=($CHARSET$)">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
($WEBSITEJS$)
<span class="title">
($TITLE$)
</span><br>
<br>
<div class="content">
($CONTENT$)
<br>
<br>
</div>
</body>
</html>
<head>
<title>($TITLE$)</title>
<meta http-equiv="Content-Type" content="text/html; charset=($CHARSET$)">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
($WEBSITEJS$)
<span class="title">
($TITLE$)
</span><br>
<br>
<div class="content">
($CONTENT$)
<br>
<br>
</div>
</body>
</html>

