PDA

View Full Version : 'Object Expected' - drop down menu



Div
02-29-2008, 04:31 AM
(Unfortunately I did not design my site myself, so I do not know where on DD the script came from, or what it is called... Sorry!)

1) Script Title: unknown

2) Script URL (on DD): http://www.dynamicdrive.com

3) Describe problem:

http://www.freewebs.com/mertoninternational/index.html

I added some new options to the menus and copied it onto all the pages, and now none of the menus work. The error messages I am getting are:

Line: 268
Char: 1
Error: Object expected
Code: 0

Line: 268
Char: 1
Error: 'menu2' is undefined
Code: 0

Line: 267
Char: 1
Error: Object expected
Code: 0

Line: 267
Char: 1
Error: 'menu1' is undefined
Code: 0

Line: 72
Char: 39
Error: Expected ';'
Code: 0

Confusing because the errors are all on lines that I have never edited at all. I have extremely limited knowledge of coding so I don't know what to do, and can't contact the site designer at this point. Contacted someone else who uses the same script and she couldn't find anything wrong.

Many apologies for knowing so little, I hope someone can help anyway... thanks in advance :)

jscheuer1
02-29-2008, 06:24 AM
I'm not getting any such errors, the menu works in FF and IE. The code on the page is a bit messy though. In Opera, the 'click here to get your own free . . .' section takes up almost the entire page.

FYI - it looks like this:

http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

is the menu you are using.

Div
03-01-2008, 05:56 AM
Thanks, it looks fine now because I found the script here on DD and fixed it. Dunno what was causing the problems, but it works now :rolleyes: