Error: '_M.22"

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
SimpleSimon
Beginner
Beginner
Posts: 5
Joined: Tue Dec 02, 2003 12:27 pm

Error: '_M.22"

Post by SimpleSimon »

I published from my local server to isp and all of a sudden i am getting this error message when pages load on either server. It is not consistent however and does not happen at every load. Confused or what! Was fine until i published. Pages and menuse seem to work fine otherwise.

Error: '_M.22' is null or not an object

Any ideas much appreciated

Simon
SimpleSimon
Beginner
Beginner
Posts: 5
Joined: Tue Dec 02, 2003 12:27 pm

The page in question

Post by SimpleSimon »

On eof the pages that is giving me the error is:

http://www.gearhouse-arabia.com/new/gearhouse.htm

I get a runtime error as described in my earlier post.

Help if you can please...
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

followscroll=3,100,2; needs to be in quotes, as followscroll="3,100,2";.

Also, I think I'd remove overflow="scroll";, since you've already fixed the position of the main menu it's not likely to hit the bottom of the window.
John
SimpleSimon
Beginner
Beginner
Posts: 5
Joined: Tue Dec 02, 2003 12:27 pm

Post by SimpleSimon »

Have made the changes as well as adding my new licence number...unfortunately no difference, error is still there but with different error dialogue!

Simon
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I have just loaded your page at least 10 times without seeing the error once. Don't know what to tell you now - it works with no errors (here, anyway). XP Pro/IE6.

Thank you for adding the license number!
John
SimpleSimon
Beginner
Beginner
Posts: 5
Joined: Tue Dec 02, 2003 12:27 pm

Still NOT happening

Post by SimpleSimon »

I have gone over my pages a 100 times and they still have the error. IE sometimes loads it fine but shows the error message in bottom left corner of browser window. When i "debug" MS script editor definitly goes to line 16 of mmenudom.js. I have same error from completely different machine, pages load fine but IE shows "error on page"

http://gearhouse-arabia.com/new/error.htm

Images of error messages/dialogues can be found here.

You help is very much appreciated. I cannot show this to the bosses until i know it owrks, they are not convinced of the use of our website and it would be a disaster if i showed them and it did not work :oops:

Simon
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Still not seeing the problem here.

Not sure about this, but try a # in front of your hex color specs for the oncolor and offcolor statements in the aI.
John
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

jgillett, I have seen you use the refence to the "followscroll' command several times with three parameters. I have looked for the use of the command in the menu guides and it only has one parameter. followscroll=1, to set the scrolling effect.

Is this a case where the user manuals do not match the command usage?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I tried to go to the link using IE 5.0 not only do I get the
Line17
Char 2367
Error '_M.22' is not an object

My browser freezes solid with that error message box and I have to do ctrl alt del end task to get out. I tried it twice to see if it happened a second time. It did

In Opera 6 [set as identify as MSIE 5.0} I get the following message. A script on this page failed to execute and page may not display properly
Error:
name: TypeError
message: Value on left hand side of [...] is not convertible to Object: _M
and no menu appears at all at the left top as on the other browsers

I get no error messages in Netscape 6 or 7

Just thought I'd give what info I got when I went.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Found an old copy of IE5.2.3 (Mac), and I still do not get the error. I'll try it again when I get back to work (IE6).
John
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

bobwill wrote:Is this a case where the user manuals do not match the command usage?
More a case of the manuals haven't caught up with the program yet.

See http://milonic.com/forum/viewtopic.php?t=3220 for an explanation of the usage.
John
Post Reply