Code Optimization
This setting lets you set the type of code optimization (compression) to apply
to the compiled code:
none: In this mode, DHTML Menu Builder will
generate a single JavaScript file containing all the code for all the
supported browsers. This file is usually very large and should be used for
troubleshooting purposes only.
normal: In this mode, DHTML Menu Builder will generate two sets of
JavaScript files, one optimized for Netscape Navigator 4 and another for all
the other supported browsers. In this mode, DHTML Menu Builder will also
compress the generated code in about 40-60%. The generated code should never
be edited or manually modified as these actions could damage the file structure.
max: This mode will provide a better compression ratio than the
normal mode. The loader code will also be compressed.
This mode should not
be used when one or more of the following conditions are met:
- You have code on your HTML documents that depend on functions provided
by the menus.
- You're using the "developers' edition" DynAPI functions.
- You're using an AddIn. Although not all AddIns will fail with this
setting it is recommended to avoid its use to ensure the proper
functionality of the AddIn.
Further compress using GZIP: When this option is enabled DHTML
Menu Builder will compress the javascript code used for DOM-based browsers
using GZIP.
This can considerably reduce the size of the generated .js files but the web
server hosting the menus must support GZIP.
Consult your web server documentation or your web administrator to see if
your web server can support javascript files compressed with GZIP.
NOTE: Because of compatibility problems with Safari and Internet Explorer 5
for Mac, all browsers running on any version of Mac OS will use the non-GZIPed
version of the menus.
Attempt to remove Image-based hotspots code: This option should only be
used on projects that use toolbars and where there's no group that will ever
be attached to a hotspot.
Enabling this option will remove some functions from the standard code
generated by DHTML Menu Builder which is only used when attaching the menus
to hotspots thus saving some space from the generated .js files.
NOTE: When changing any of these setting you will need to re-install the menus
using the
Tools->Install Menus option.
AddIns
If you want to compile your project using one of the
installed AddIns. select it in this section. DHTML Menu Builder can use only one AddIn per project.
Information button: provides a brief explanation on how to
use this AddIn.
AddIn Editor button: Loads the AddIn Editor with the
selected AddIn.
Parameters Properties button: Some AddIns require that you establish some settings to control the way the AddIn works. If this button
is enabled when you select an AddIn, click it to make these settings.
Compiled JavaScript File Name
Changes the name of the file or set of files
that DHTML Menu Builder will use to store the compiled code.
NOTE:
Changing this setting will require updating the loader code.