Taipan
06-22-2004, 01:09 AM
I am using a javascipt menu that I downloaded from somewhere (can't remember). It has a file called config.js that contains all the relevant data for the menu eg, colors, fonts, alignments etc. I have made a page using php and javascript that allows me to choose colors, fonts, etc and it then saves the variables to a mysql database and then writes a file identical to the config.js file. But when I view the page there is errors. I have printed out both the working javascript and the one with errors and they look identical. How can I tell what the errors mean.
I get 2 errors:-
Line: 88
Char: 63
Error: Expected ')'
Code:0
URL: http://mysite.com/menu.php
Line: 2
Char: 349
Error: 'MenuUsesFrames' is undefined
Code:0
URL: http://mysite.com/menu.php
How do I know exactly where line 88 char 63 is? There are no missing ')' as far as I can see. The variable MenuUsesFrames is defined in the script too.
Any help in solving this problem would be greatly appreciated.
I get 2 errors:-
Line: 88
Char: 63
Error: Expected ')'
Code:0
URL: http://mysite.com/menu.php
Line: 2
Char: 349
Error: 'MenuUsesFrames' is undefined
Code:0
URL: http://mysite.com/menu.php
How do I know exactly where line 88 char 63 is? There are no missing ')' as far as I can see. The variable MenuUsesFrames is defined in the script too.
Any help in solving this problem would be greatly appreciated.