Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:08

IE JavaScript error


Poster: Palooka
Dated: Wednesday October 1 2003 - 20:19:25 BST

As you can see here, when any of the main menu items (with the exception of "Our Company") is clicked while using IE, the link does not work due to a JavaScript error. It works fine in other browsers that I have tried. Since the plaintext "Our Company" item link works just fine, I suspect it has something to do with the images. I think this is a brand new bug in the Milonic menus; I wasn't experiencing this problem before I upgraded today. The error states, "_gm is null or not an object." Any input would be appreciated.


Poster: Palooka
Dated: Wednesday October 1 2003 - 21:39:28 BST

For those who may be experiencing the same problem, a temporary solution is to simply use the RC 11 version of the mmenudom.js file while continuing to take advantage of improvements in the other RC 13 scripts (particularly the new mmenuns4.js script, which fixes a significant cosmetic issue in Netscape 4).

A question to the Milonic team: would it be possible to provide previous release candidates along with the newest one on the downloads page? I think this would be helpful.


Poster: Hergio
Dated: Wednesday October 1 2003 - 21:41:38 BST

IE6, win2k, no errors whatsoever.


Poster: Palooka
Dated: Wednesday October 1 2003 - 23:23:39 BST

I, too, am using IE6 on Win2k, and the main menu links generate JS errors without fail.


Poster: John
Dated: Thursday October 2 2003 - 0:14:02 BST

IE6/Win2K here as well, and I am seeing the errors. Looking at the code now.


Poster: John
Dated: Thursday October 2 2003 - 0:26:45 BST

Just a curiosity question while I'm looking. Since you're trying to get the imaged items to do the same thing as you are now doing with Our Company (it appears), why not do them all with text rather than images?


Poster: kevin3442
Dated: Thursday October 2 2003 - 8:45:29 BST

My two cents...

Using IE6/Win2k, I get the error from any grapical, as opposed to textual, menu item. You'll notice that the same error occurs in the "All Images" sample, both on the Milonic site and in the current downloadable version, suggesting that it's not something in Palooka's code. As Palooka mentioned, replacing RC13's mmenudom.js with RC11's mmenudom.js makes the error go away (don't know about RC12, 'cause I missed that one). Although I wouldn't suggest that as a solution, it does present a clue. Perhaps a bug introduced in RC12 or 13? Figuring out where the bug came in (12 or 13) then comparing that file to RC11's file may yield the answer. I have a utility somewhere that does that... highlighting differences... now if I can only remember what the thing's called and where I put it!

Also, I think it would be a nice touch to make previous releases available -- perhaps not all, but maybe just the more recent ones -- for just such an occasion.

Go to bed John. I see you're currently logged in and it's way past your bed time! ;)

Kevin


Poster: John
Dated: Thursday October 2 2003 - 8:54:29 BST

kevin3442 wrote:
Go to bed John. I see you're currently logged in and it's way past your bed time! ;)

Look who's talking :!:

However, I think you hit it right on. Andy will jump on it (he should be getting up about now), if he hasn't already.


Poster: Andy
Dated: Thursday October 2 2003 - 10:05:31 BST

Can somebody tell me what these errors are.

I've tried it in lots of browsers and all seems fine.

Screenshots are good too

Cheers
Andy


Poster: 4viggo
Dated: Thursday October 2 2003 - 10:24:45 BST

Whenever you click on the "Home" button on your menu sample 18 it shows the following error:

Line: 17
Char: 2680
Error: '_gm' is null or not an object
Code:0
Url: http://www.milonic.com/menusample.php?sampleid=18

regards
4viggo


Poster: Andy
Dated: Thursday October 2 2003 - 10:27:03 BST

RC14 now contains a fix.

Expect a few more updated later today.

Cheers
Andy


Poster: Palooka
Dated: Thursday October 2 2003 - 12:29:02 BST

Thanks for solving the problem so expeditiously, Andy.

Different javascript error


Poster: bonewalker
Dated: Thursday October 2 2003 - 20:37:50 BST

Here's a new wrinkle: I get a javascript error that says 'Class not defined', and that is all.

I am using RC6, running on IE 6.0 in Win98SE.

I hope to upgrade to the latest RC soon, but I still cannot download anything but the trial version which contains the Milonic link.

This error I mentioned so far has only occured on one users machine, and I cannot reproduce it anywhere else, so it must be something specific to this machine, but I thought I would throw it out here anyway.

Thanks,

Bonewalker


Poster: kevin3442
Dated: Friday October 3 2003 - 1:04:48 BST

Bone,

Does your page use any Java applets? If so, are you sure it's a Javascript error and not a Java error? Given the circumstances you described (machine specific) and the error message itself, I couldn't help but wonder.

Kevin


Poster: bonewalker
Dated: Friday October 3 2003 - 1:19:41 BST

Hi Kevin,

Nope, no Java applets. In fact, nothing on the page but the menu and about a paragraph's worth of text.

That's what is odd about this. I didn't think Javascript supported Classes, but I could be wrong.

Bonewalker


Poster: Andy
Dated: Friday October 3 2003 - 7:43:42 BST

It's a problem with one of the DLL's on that specific machine.

A re-install of the browser will fix it but I would like to catch this error if possible. Do you have a line number of where the error is.

Cheers
Andy


Poster: bonewalker
Dated: Friday October 3 2003 - 13:41:37 BST

Yeah, I feel really useful now!

I will snag the full error and forward it on. Might even get you a screenshot.

Thanks,

Bonewalker


Poster: Andy
Dated: Monday October 6 2003 - 13:26:53 BST

This problem is to do with disabled ActiveX.

We've now caught the error and RC15 due out later this week will fix it.

Cheers
Andy


Poster: bonewalker
Dated: Monday October 6 2003 - 15:05:14 BST

Excellent Andy!

I hope the error message I sent helped out.

However, I have to tell you that I still cannot download the latest version without the trial Milonic link.

I have emailed someone named Marty about this and not received a reply yet.

Can you help?

Thanks,

Bonewalker
Baker University
License number: 189473