Chapter 9 - Customization |
OverviewMSS HTML Editor can be customized in many ways. The easiest way is to edit the options in the options dialog. But there are many other ways to customize. You can edit the tag data files, or replace them with a new ones.Options DialogTo bring up the options dialog select 'Options' from the File menu. The options dialog has a listbox with cathegories. Select one of them to edit the options associated with it.Editing Tag Information FilesMSS HTML Editor stores data about the html language in so called 'Tag Information Files'. These files are simple text files which can be read by any text editor. New in version 1.20 of the editor is the ability to edit these files directly through the editor. The format itself has also been extended and now supports multiple files and extensions.Using the EditorYou can bring up the editor by selecting 'Tag Data' from the 'Tools' menu. This brings up a dialog with a tree control, where all tags are displayed. You can create a new tag by pressing the 'New Tag' button. To edit an existing tag, select the tag in the tree control and press the 'Edit Tag' button.This brings up the editor for tag information. If you created a new tag, the first thing to do is to type in the name of the tag. It is recommended that you type it with upper case letters only. After that you select which group to put the tag in. You can also specify the context in which the tag may be used. If the tag can be anywhere in the code type 'ROOT' in the 'Within' edit box. If the tag must be placed within a certain tag type the name of the tag in the 'Within' edit box. You can specify multiple tags separated by a semi colon (;). Again, it is recommended to use upper case only. Next, you should press the 'Update' button, which will take you back to the previous dialog. If you need to add any arguments to your tag, you must press the 'Edit Tag' button. You can not add arguments until you have pressed the 'Update' button at least once. You can press the 'New' or 'Edit' buttons to add or edit arguments for your tags. This will take you to the editor for argument information. If it is a new tag, the first thing to do is to type in the name. As usual it is upper case only. The compatibility field can be used to specify which browser the argument is compatible with. To be continued... Editing Data FilesGeneral Syntax:
(HEADER)
All files must have a header. It specifies for which tags this file should be used for.
When you use the editor this file will be used for all tags with a compatibility which
is the same as the one specified after (DEFAULT). If you just type (DEFAULT) or (DEFAULT)ALL
this file will be used for all compatibilities which doesn't have it's own file.
[(EXTENSION)]TAGNAME
Tag Level Options:
(WITHIN)
(GROUP)
(OPEN)
(INFO)
(SUSPEND)
(TOTALSUSPEND)
Argument Level Options
(INTEGER)
(PERCENT)
(COLOR)
(IMAGE)
(JAVASCRIPT)
(STRING)
(WINDOWNAME)
(URL)
(LINK)
(INFO) |