|
Compile Properties: Folders |
|
Here you specify the output folders and files to be created when compiling your menu project.
The Site_Root folder is the location where your web site (your main index page) is locally stored. It is also referred as the "Site Root" folder in other applications. It is very important that you specify the correct folder here, as it is used in both the compile process and in the <Link> item property for browsing the site pages.
The Compiled menu name is the name of the javascript file that is generated when you compile the menu. It defaults to menu.js but you may as well change it to something else. Note that you can use multiple menus in the same website by having different projects compiling menus under different "Compiled menu name" properties.
Once you setup your "Site_Root folder", you are able to edit the "Compiled subfolders" which include the following: (version PRO only)
Menu file subfolder
This specifies a custom subfolder in your web site where your menu will be compiled. The default folder where the menu gets compiled is the Site Root of your web site. Note that the folder needs to exist prior to selecting it.
When compiling a menu a default awmdata folder is also created under the same directory. This folder contains the necessary Javascript menu-building Libraries along with any images used by the compiled menu. Instead of using the default awmdata folder, you may use two separate custom folders for the following entities:
Javascript libraries subfolder
| awmlibX.js | (the required Javascript menu-building Libraries. These are the javascript files containing all the functions that build the menu and drive its behavior) |
| dot.gif | (a required image file used to implement the cross-browser rendering of the menu. If missing, a small line will appear on the left side of every menu item and the menu may not show properly in some browsers. Although it is an image, it should always reside inside the Libraries Folder, next to the Javascript menu-building Libraries) |
There is no apparent reason to change the menu-building libraries folder, so we recommend that you keep the default awmdata value.
Menu images subfolder
| .jpg, or .gif files | (all images used by the menu, except of the "dot.gif" special image that resides in the Libraries Folder. If not uploaded, the menu will still display all items but without images. The missing image sign ("x") may also appear in place of those images) |
Custom folders may be required when two or more menus are used in the same web site and images from both menus use the same names. This is the only situation that may require you to change the default awmdata value for the produced images.
Note: Custom folders may contain relative paths too (eg: ../). If you do so, the folder location will be relative to the location of the compiled menuname.js file.
Examples:
Libraries Folder: allwebmenusdata
Images Folder: allwebmenusdata
Libraries Folder: ../allwebmenusdata
Images Folder: ../allwebmenusdata
Libraries Folder: allwebmenuslibs
Images Folder: allwebmenusimages
Libraries Folder: ../allwebmenuslibs
Images Folder: ../allwebmenusimages