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

Javascript error in Opera


Poster: mfindlay
Dated: Tuesday September 21 2004 - 18:54:07 BST

Somewhere between 5.42 and 5.47 a bug was introduced to the milonic that causes Opera to show the following error whenever a menu containing a submenu is displayed:

Code:
Event thread: onload
Error:
name: ReferenceError
message: Statement on line 19: Reference to undefined variable: No such variable 'fixMenu'
Backtrace:
  Line 19 of linked script http://<my server>/iym/menu/mmenudom.js
    fixMenu(_mi[0]);
  In unknown script
    _oifx(15);
  At unknown location
    {event handler trampoline}


(the <my server> is just for purposes of this message)

I am currently using 5.48 but I first noticed this with the 5.47 release. This only occurs in Opera on PC. All other browsers I have (netscape 6+ on PC and Mac, IE on PC and Mac, Safari on Mac) display properly.

Your thoughts? (email me and I will send you a link to the site on my local server)

Thanks!
Mark


Poster: kevin3442
Dated: Wednesday September 22 2004 - 3:57:45 BST

Hi Mark,

I hope Andy doesn't mind me saying so... and normally I'd let him say it himself, or just upload an update, but I believe he may be out for a couple of days, so just in case this is causing you headaches I'll venture forth.

I believe it's due to a small typo in the code in mmenudom.js. Essentially, you need to change fixMenu(_mi[0]) to _fixMenu(_mi[0]) inside the _oifx() function definition (note the underscore in the call to _fixMenu() ). In v5.48, if you add a _ at column 15210 in the long line of code, that should fix it (nice pun, huh?).

Cheers,

Kevin


Poster: mfindlay
Dated: Wednesday September 22 2004 - 4:00:23 BST

Thanks Kevin,

As long as the fix makes it into the next release of Milonic I'll be content to use the working version until then.

Thanks for your help.

Mark


Poster: kevin3442
Dated: Wednesday September 22 2004 - 4:05:37 BST

Wow!... you're either very fast on the email notifications or you were on the forum when I posted. I think that's the fastest turn around I've seen yet.

Cheers,

Kevin


Poster: mfindlay
Dated: Wednesday September 22 2004 - 4:06:20 BST

Fast email notification... :)


Poster: John
Dated: Wednesday September 22 2004 - 4:07:46 BST

Well, I hope he doesn't mind me going even a little further, but Andy is on a long overdue and well-deserved vacation. I'm sure that none of the regulars around here will dispute that statement, as you all know the kind of hours and dedication he's been putting into this system.

He'll be back at it next week, which really isn't that long to wait. Meanwhile, you'll just have to put up with the Team... :D


Poster: kevin3442
Dated: Wednesday September 22 2004 - 4:09:32 BST

Even faster! I'm going to have a beer for you. Might not slow you down any, but it will me!

Cheers,

Kevin