Lingoes Appendix Demo
How to make Lingoes Appendix:
You can make appendix content of your own by editing this file.
Filename | Explanation | File Format |
index.html | Main file of appendix, namely this file.
|
HTML format with Unicode |
logo16.png | The small icon of appendix. You can change it as your favorite image. |
PNG file with 16x16 pixels & 256 colors |
logo24.png | The medium icon of appendix. You can change it as your favorite image. |
PNG file with 24x24 pixels & 256 colors |
logo32.png | The large icon of appendix. You can change it as your favorite image. |
PNG file with 6x16 pixels & 256 colors |
setup.xml | The configuration file for installing the appendix into Lingoes.
|
XML format with Unicode |
This is an example: <item name="demo" title="My Demo" title-zh-CN="我的附录" title-de="meine Demo" /> |
<html>
<head>
...
<script language="JavaScript" type="text/javascript"
src="../var.js"></script>
...
</head>
Variable Name | Explanation |
g_LangCode | Language code used currently, en for English, fr for French, etc. |
g_Dir | Text written directions in current user's language, e.g. English is from left to right: ltr, Arabic is from right to left: rtl. |
e.g. document.body.dir = g_Dir; | |
g_UIFont | Window font which current user set up |
g_UIFontSize | Font size in the appendix, unit is pt |
g_TextFont | Font family in the appendix |
g_PhoneticFont | Phonetic font family which current user set up |
g_TextFontSize | Font family which current user set up, standard size, unit is pt |
g_TextFontSizeL | Font family which current user set up, large size, unit is pt |
g_TextFontSizeS | Font family which current user set up, small size, unit is pt |