
MenuMachine 1 only
GoLive 6, CS, CS2
Mac, Windows
Article ID: 000020
Category: Browser Issues
MenuMachine 1 menus can be created in GoLive but either do not preview in some browsers at all or generate errors in the browser; or
Menus can only bee seen on local computer, not once uploaded or when viewed from another computer; or
Red X's can be seen in menu items.
This problem is almost always caused by a broken link to the MenuMachine support files, including a JavaScript library called menumachine.js and a transparent GIF image called spacer.gif. These files must be present in your site and linked correctly for the menus to work.
When you save a file that contains a MenuMachine menu, MenuMachine looks for the support files in your site. If it can't find them, it attempts to copy the master version of the files into your site. It places these files in the folder which is set as the default script library folder in Edit >> Preferences >> Script Library. This folder is called GeneratedItems by default. MenuMachine then updates your page to link to the new menumachine.js file.
There are circumstances that will cause MenuMachine to be unable to find either your site or the master menumachine.js file - this will result in Menumachine writing a local file:// link to the master file rather than the file in your site. This will allow local previewing in some browsers (not all) but will cause the menu to fail when it is uploaded.
The things that will cause a failure to create the support files are:
1. Either you are not using a GoLive site file to manage your pages, you have not saved the page you are working on or you are saving the page outside the root of your site file. You also must only edit pages when the site window is open.
Solution: You must use a GoLive site file to manage your site. Use of a site file is the "normal" method of working with GoLive and if you are not doing so you are missing out on much of the functionality of the application.
MenuMachine needs the site file to be present and open in order to locate the Script Library Folder and create its support files. Save the pages containing the menus into a GoLive site and the support files and links will be created automatically.
2. The path to your site file / site folder contains non-alphanumeric characters such as option-f (ƒ), the trademark symbol (™), forward slashes (/), back slashes () etc.
Solution: If you are using GoLive 6.0, update to GoLive 6.01. If that doesn't resolve the issue, close GoLive and change the folder names to exclude the non-alphanumeric characters.
3. The path to your GoLive application contains non-alphanumeric characters.
Solution: If you are using GoLive 6.0, update to GoLive 6.01. If that doesn't resolve the issue, close GoLive and change the folder names to exclude the non-alphanumeric characters.
4. The .site file is contained within the site folder. GoLive expects the site file to be at the same level as the site folder, not inside it.
Solution: Close GoLive. Move the .site file out of the Site folder and place it at the same level as the folder containing your pages and images. Re-name the site file and the site folder. When you next open the site you will be asked to locate the site root folder - choose the folder containing all your pages.
The folder structure should look like this:

IMPORTANT:
After performing any of these three remedies you must open all pages which contain a MenuMachine 1 menu, make a slight change and re-save. This will update the link to the menumachine.js file.
Additional information:
http://menumachine.com/linkerror
Last updated: August 28, 2006
This article has been viewed 5486 times.