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: Wednesday July 18 2012 - 06:07:44
page not even loading in Ns 4.x because of error 1005
Poster: ericka __at__ romeocomp.com
Dated: Wednesday March 6 2002 - 15:37:37 GMT
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
Re: page not even loading in Ns 4.x because of error 1005
Poster: John
Dated: Tuesday April 16 2002 - 15:38:32 BST
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