Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28
My menu does not show at all - done but with errors
Poster: sticks
Dated: Monday June 16 2003 - 3:09:15 BST
Hi all. I have made a menu with the menu builder and added the script tages to the body of my page. Uploaded files. However the menu is not showing at all. Can anybody please assist.
The url is http://www.enzaway.co.nz/familytrots/index.html
Thanking you in anticipation
Sheryll.
Poster: kevin3442
Dated: Tuesday June 17 2003 - 0:53:28 BST
Hi Sheryll,
I don't use the menu builder, but I can tell you the main problem. Starting on line 37 of your menu_array.js file, you have a Style array that has no name, and no properties actually defined within the array (colors etc.). The first error, the one causing the menus not to load at all, will be an assignment error... you have nothing on the left side of the equal sign; i.e., you are creating an array and trying to assign it to a name, but there is no name given.
Kevin
Poster: sticks
Dated: Wednesday June 18 2003 - 8:56:50 BST
Hi Kevin and thanks for your reply. I have fixed the error you found and also a couple of others I found. But, I still can not see my menu. Do you (or any one else) have any other advice for me.
Thanking you in anticipation.
Sheryll.
Poster: bobwill
Dated: Wednesday June 18 2003 - 14:19:46 BST
Two things... Get the latest version of the menu which is 3.5.1 You are running 3.4 I would also suggest that you download one of the samples of the menu and modify the menu_array.js file to suit your needs. That way you are starting with something that works, because all you need is one missing comma or quote mark and the menu will not run. Hard to find erros and debug.