Board Logo

converting online version to v2
rhambling - 11/25/2003 at 04:14 AM

I have converted to version 2 as the posts have said by adding the target and null parameters. when i load the page i get an " expected ']'

i have changed all " to ' and it still does not work

i am using menu.js from demo 5

here is a copy of the code. i added test at the end of the filename for troubleshooting purposes


nik - 11/25/2003 at 08:39 AM

You should put commas after the third parameter in the following code fragments:
....
['Pictures', null, null,
['Family', '/family.htm', {'tw' : 'content'}],
['Engagement', '/engagement.htm', {'tw' : 'content'}],
....

['Mail Us!', null, null,
['test', 'mailto:[email protected]', {'tw' : 'content'}],
['test', 'mailto:[email protected]', {'tw' : 'content'}]
]
];


rhambling - 11/25/2003 at 01:26 PM

i have tried that, but i am still getting the same error but on line 15 char 15 code 0. i use MS IE6 browser.


tigra - 11/25/2003 at 01:59 PM

Please, also check that quotes are not closed before the string's end. If you need to use an apostrophe (') in menu item caption, just either enclose the caption in double quotes (") instead of single ones (') or add a back slash () directly before each apostrophe.

For instance:
"Ryan's Trips"
or
'Ryan's Trips'


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/