page not even loading in Ns 4.x because of error 1005

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
ericka@romeocomp.com
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

page not even loading in Ns 4.x because of error 1005

Post by ericka@romeocomp.com »

hello,
maybe I have just overseen something, but something is suddenly wrong, i cannot preview my edited pages in NS 4.X anymore. I am using dreamweaver 4 and used the function debugging in netschape 4 and the outcome was two errors that were displayed,this is the description:

"Error 1005 expression expected
Expected an expression. Expressions include things such as variable names, numbers or string literals."

mentioned as a cause for this error were line 33 in mmenu.js and line 51 in my array.js . my line 51 in the array.js looks like this:

48 , // Top Bar image (Leave blank to disable)
49 , // Menu Header Font Color (blank if not used)
50 , // Menu Header Background Color (blank if not used)
51 ]

pleeeeeeease help me.
thanks.
regards

norman
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: page not even loading in Ns 4.x because of error 1005

Post by John »

JS is not my favorite thing (ask Andy!), but above you're showing a space after each of your variables and before the comma - 48(space), etc. Does that space make a difference? Should it be
48,
49,
50,
51] ?


Guessing from Phoenix,
John
Post Reply