Javacript Object Expected

C

cyaira

Hello

I need help!!!!!!!!

I am getting a javascript error on a website I am creating and I need
some help correcting the problem.

The error is as follows:

line: 176
char: 1
Error: Object expected
code:0
Url: http:24.244.180.32/agoffice/About_Us.lasso

The section it relates to is as follows:

}

if(document.all && !window.mmIsOpera) {
item = '<div align="' + menu.menuItemHAlign + '">' + item + '</
div>';
} else if (lrs) {
item = '<div style="text-align:' + menu.menuItemHAlign + ';">' +
item + '</div>';
} else {
var hitem = null;
if( menu.menuItemHAlign != 'left' ) {
if(window.mmIsOpera) {
var operaWidth = menu.menuItemHAlign == 'center' ? -
(menu.menuWidth-2*menu.menuItemPadding) :
(menu.menuWidth-6*menu.menuItemPadding);
hitem = '<div id="menuItemHilite' + countItems + 'Shim"
style="position:absolute;top:1px;left:' + menu.menuItemPadding +
'px;width:' + operaWidth + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</
div>';
item = '<div id="menuItemText' + countItems + 'Shim"
style="position:absolute;top:1px;left:' + menu.menuItemPadding +
'px;width:' + operaWidth + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</
div>';
} else {
hitem = '<div id="menuItemHilite' + countItems + 'Shim"
style="position:absolute;top:1px;left:1px;right:-' + (left
+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</
div>';
item = '<div id="menuItemText' + countItems + 'Shim"
style="position:absolute;top:1px;left:1px;right:-' + (left
+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:'
+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</
div>';
}
} else hitem = null;
}

Can someone please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
G

Gregor Kofler

(e-mail address removed) meinte:
I need help!!!!!!!!

Perhaps some extra exclamation marks might help...

I am getting a javascript error on a website I am creating and I need
some help correcting the problem.

The error is as follows:

line: 176
char: 1
Error: Object expected
code:0
Url: http:24.244.180.32/agoffice/About_Us.lasso


Nope. I get errors on line 765 (mm_menu.js), 49 and 109 (About_us.js).
Line 1 and 48 and 108 (Divisions.lasso).

The section it relates to is as follows:

[snipped atrocities]
Can someone please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Ah, here they come, at last. Either forget about JS (I highly doubt that
you really need it in your case), learn JS, or try to be a smarter
script-kiddie (i.e. use better scripts).

Gregor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top