Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / November 2007



Tip: Looking for answers? Try searching our database.

Javacript Object Expected

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cyaira@gmail.com - 29 Nov 2007 21:28 GMT
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thomas 'PointedEars' Lahn - 29 Nov 2007 22:00 GMT
> I need help!!!!!!!!

Yes, indeed.  That many exclamation marks are a sure sign of a diseased mind.

PointedEars
Signature

Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee

Gregor Kofler - 30 Nov 2007 10:35 GMT
cyaira@gmail.com 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.
[quoted text clipped - 6 lines]
> 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

Signature

http://www.gregorkofler.at ::: Landschafts- und Reisefotografie
http://www.licht-blick.at  ::: Forum für Multivisionsvorträge
http://www.image2d.com     ::: Bildagentur für den alpinen Raum

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.