help with netscape 4.79 menu death

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
yonan
Beginner
Beginner
Posts: 4
Joined: Mon Dec 22, 2003 1:34 am

help with netscape 4.79 menu death

Post by yonan »

Help .. we are trying to implement the menus in NS4, and, surprise, surprise, we are getting grief.

From NS4? 8O no way!!

We are getting the following two errors in the javascript console on the onmouseoff command:

JavaScript Error: http://oldmember/library/js/mmenuns4.js,
line 16:
_mi[_cel] has no properties.

JavaScript Error: http://oldmember/library/js/mmenuns4.js,
line 16:
_mi[_cel] has no properties.


We have no main menu and the (2) menus are being shown with the following code:

<td><a href="#" id="gl2" class="glink" onMouseOver="popup('aboutmenu','gl2')" onMouseOut="popdown();">About</a></td>

We didnt want to use the image reference method ( http://www.milonic.co.uk/menusample.php?sampleid=24 ) as we only have two drop downmenus in our nav out of nine main nav items and that threw out the layout, and we didnt use a main menu because our design couldn't be satisfactorily mirrored with the menu styles.

We need help very soon, as this sit eis due, and we will have to inform our client that the fantastic menu software we advised them to purchase a license for them to buy isn't able to work satisfactorily on NS4 even though we said it would ... making us all look bad :(
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

We need more to look at than just the one-liner. A URL, as requested, would really help.
John
yonan
Beginner
Beginner
Posts: 4
Joined: Mon Dec 22, 2003 1:34 am

Post by yonan »

User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I just tested it in NS4.79....it worked fine, no errors thrown.

Ruth
yonan
Beginner
Beginner
Posts: 4
Joined: Mon Dec 22, 2003 1:34 am

Post by yonan »

no, i have now tested it in NS4.79 AND 4.76

the same error is getting thrown. twice. on mouseout. swear to god.

JavaScript Error:
http://www.soem.com.au/library/js/mmenuns4.js, line 16:

_mi[_cel] has no properties.
JavaScript Error:
http://www.soem.com.au/library/js/mmenuns4.js, line 16:

_mi[_cel] has no properties.

view my screen dump here:
http://www.soem.com.au/images/screen_dump.gif
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

My error. You're right...I just moused over the menu..didn't realize until I tried in 7.1 that it had drop downs...and yes, I get the same error.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

The error is due to a number of factors.

One that has now been fixed was to actually capture the error in Netscape 4.x, an upgrade of http://milonic.com/mmenuns4.js will fix.

The other problem is that you are using a HREF to set the position of submenus. Although this will work in all other browsers, it will fail in Netscape 4.x

The best way is to use images as in this sample: http://milonic.com/menusample.php?sampleid=24

Hope this helps
Andy
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Is the mmenuns4.js file an update for all of us?
Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

innkeeper9 wrote:Is the mmenuns4.js file an update for all of us?
Why not :?: :)
John
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 two cents...

If you don't want to use images as menu triggers, then you could try popping the menu up at the current pointer coordinates, rather than the location of the href... this should approximate what you already have, without you having to futz around with images.

To open a menu at the current pointer location:

Code: Select all

popup('aboutmenu',1)
note the 1 passed as the second parameter; that's what tells the menu to open at the current pointer X,Y.

Kevin
yonan
Beginner
Beginner
Posts: 4
Joined: Mon Dec 22, 2003 1:34 am

Post by yonan »

JavaScript Error: http://oldmember/library/js/mmenuns4.js,
line 16:

_po is not defined.

hmmm. we've gone back to using the images per Adny's post ...

hohoho. hopefully this will be sorted before the fat man comes. :o

merry xmas, and thanks for all the help and replies. :D
Post Reply