1) Error: 'bbMenu' is undefined; or
This error is shown by a browser if the browser cannot find the JavaScript library which tells the browser how the menu should work.
2) Menu does not appear in browser when uploaded or viewed from another computer; or
3) Menu has red 'X's in the boxes.
You may also either not see the menu or it will not work and you may see red 'X's in the menu.
Solution: Save your pages in a GoLive site and upload the GeneratedItems folder and its contents to your web server.
You must be using a GoLive site to manage your web pages. If you have not been using a site file, please read Section 2. Before you Begin of the MenuMachine Manual.
When you are using a GoLive site to manage your pages (including a page with a MenuMachine menu on it), the automatically-created GeneratedItems folder will contain the support files for MenuMachine.
You DO NOT have to copy these files into your site or link your pages to them MenuMachine will automatically copy the required files into the GeneratedItems folder for you and link the pages correctly.
The GeneratedItems folder MUST BE UPLOADED to your web server for your menus to work when viewed by another computer.
The files in the GeneratedItems folder are listed below.
(You may not have ALL the files but you MUST have the first two for menus to work.)
GeneratedItems folder should contain:
| menumachine.js |
> |
Required for MenuMachine to function. |
| spacer.gif |
| menutriangle.gif |
> |
Required only if "Show arrows" option has been selected for submenus. |
| menutriangledown.gif |
| menutriangleleft.gif |
| CSScriptLib.js |
> |
This file is a different JavaScript library file automatically created by GoLive if you have used GoLive Actions in your site. Not related to MenuMachine. This is the file that is affected when you use the "Flatten Script Library" command. |
Once you have uploaded the GeneratedItems folder and its contents to the web server, you will be able to view your menu pages from any computer accessing that server.
You can check the source code of your menu page to see that it correctly links to the support files. You should have some code that looks like this in the <head> section of the page:
<bb:menulib c="0">
<script type="text/javascript" src="GeneratedItems/menumachine.js"></script>
</bb:menulib>
The link may be prefixed by some extra "../" depending on where the page is saved.
If the link is prefixed by file:// and looks something like this
on Macintosh systems:
<bb:menulib c="0">
<script type="text/javascript"
src="file:///Applications/Adobe%20GoLive%20CS/Modules/
Extend%20Scripts/MenuMachine/menumachine.js"></script>
</bb:menulib>
on Windows systems:
<bb:menulib c="0">
<script type="text/javascript"
src="file:///C:/Program%20Files/Adobe/GoLive%20CS_ENG/
Modules/Extend%20Scripts/MenuMachine/menumachine.js"></script>
</bb:menulib>
the menus will not work when uploaded. This is incorrect and must be fixed.
The link to the menumachine.js file is pointing back to the master file in the GoLive folder because it can't find the GeneratedItems folder in the site, the site is not open while you are editing the page, you need to use the Refresh Site command.
If you have checked that you are using a site, it contains the GeneratedItems folder and your site is open and refreshed, then you need to make a slight change to the page (such as adding some text to the body of the page, then deleting it again).
Make sure your page is in Layout view then re-save the page. This will prompt MenuMachine to fix the link. Switch back to Source view and check the link.
If the link is still incorrect, contact support.
|