Navigation: Customisation > object.properties |
![]() ![]() ![]() |
This file contains the settings to define how the <object> tag is handled. At present, embedded objects such as avi movies or Flash, cannot be displayed in JavaHelp so it is necessary to replace the <object> tags with suitable text. This file defines the replacement text.
property |
value |
preamble |
This should be set to the HTML code that you want to precede every parsed object in the resulting JavaHelp html. In the file supplied with the installation, it merely precedes the object with a horizontal rule and sets the font. |
postamble |
This should be set to the HTML code that you want to follow the object. In the default file, this merely closes the font tag defined in the preamble and adds another horizontal rule. |
unknownClass |
This defines the HTML code that is used to replace the <object> tags if its classID is not otherwise defined in the objects.properties file. |
classID attribute |
For each object that you want to replace, you should create a property set to the value of the classId attribute. The value should be set to the HTML code that you want to use to replace the object. You can also use the special term __SOURCE__ to use the contents of the src attribute from the <embed> tag in the resulting HTML. For example, for Macromedia flash objects the line might read. There are two other special terms that you can use for this item, __DO_NOT_TOUCH__ and __SECONDARY_VIEWER__. The __DO_NOT_TOUCH__ must be the first part of value and tells the program to pass the object through without modifying it at all. This may be useful if you will be customising your JavaHelp to use a native browser which is able to display the object. For example: clsid\:D27CDB6E-AE6D-11cf-96B8-444553540000=__DO_NOT_TOUCH__ The __SECONDARY_VIEWER__ option replaces the object with a popup to a custom viewer. See Popup windows. |