mmenu 3.06: gm has no properties

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
User avatar
Kirzz
Beginner
Beginner
Posts: 8
Joined: Sat Aug 24, 2002 2:24 pm

mmenu 3.06: gm has no properties

Post by Kirzz »

dear programmers of milonic menu, dear andy,

i've got an error in ns (4.7/6.0/7.0) and also in ie (6.0) browsers with your new menu 3.06. netscape shows the error (javascript:) so:

Code: Select all

Error: gm has no properties, mmenu.js, line 34
it's that line: function gpos(gm){if(ns4){t_=gm.top;l_=gm.left;h_=gm.clip.height;w_=gm.clip.width;}...
please check your changes in mmenu 3.06.

The fault appears if (frame-version): Menu drops down, you select an entry and it opens your selected file. This selected pulldown-row is now dead, all others still open up and work.

sorry about my comic-english
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

It works perfectly well as far as I can see.

There must be a problem with your array syntax.

Is it faulty at http://www.milonic.co.uk/menu/frames/

-- Andy
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

My own frames development, as well as http://www.milonic.co.uk/menu/frames/, work fine for me using IE 6.0. Can't find a problem. Kirzz, could you post a URL so that we could examine your code for possible problems?

Kevin
User avatar
Kirzz
Beginner
Beginner
Posts: 8
Joined: Sat Aug 24, 2002 2:24 pm

All changes I made...

Post by Kirzz »

I use online another menu, because of the problems with the Overall Width of Horizontal Menu with the pixel around the border. But forget this once now:
All changes I made were in the mmenu.js (to cancel the left frame):

as of lines 188:

Code: Select all

					{
						fTop=pf.sy;
						fLeft=pf.sx+gp[1]+mp[1]+Frames_Left_Offset;
					}
					else
					{
						fTop=pf.sy+gp[0]+mp[0]+Frames_Top_Offset;
						fLeft=pf.sx+0
					}
					tp=gpos(pf.mn)
					if(fTop+tp[2]>(pf.sy+pf.wh))fTop=pf.wh-tp[2]+pf.sy
					pf.spos(pf.mn,fTop,fLeft,null,null);
					closeFel=0
					if(_OfM!=v1)closeFel=1
					if(ShM==1)
					{
I can't imagine that's the problem, however?
Post Reply