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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:36

mmenu 3.06: gm has no properties


Poster: Kirzz
Dated: Tuesday October 29 2002 - 10:14:19 GMT

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


Poster: Andy
Dated: Wednesday October 30 2002 - 9:09:39 GMT

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


Poster: kevin3442
Dated: Wednesday October 30 2002 - 16:41:28 GMT

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

All changes I made...


Poster: Kirzz
Dated: Friday November 1 2002 - 21:44:37 GMT

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?