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:51
help with netscape 4.79 menu death
Poster: yonan
Dated: Monday December 22 2003 - 0:54:45 GMT
Help .. we are trying to implement the menus in NS4, and, surprise, surprise, we are getting grief.
From NS4? 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
Poster: John
Dated: Monday December 22 2003 - 2:44:50 GMT
We need more to look at than just the one-liner. A URL, as requested, would really help.
Poster: Ruth
Dated: Monday December 22 2003 - 6:37:19 GMT
I just tested it in NS4.79....it worked fine, no errors thrown.
Ruth
Poster: yonan
Dated: Monday December 22 2003 - 6:47:29 GMT
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
Poster: Ruth
Dated: Monday December 22 2003 - 7:04:17 GMT
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.
Poster: Andy
Dated: Monday December 22 2003 - 10:21:11 GMT
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://www.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://www.milonic.com/menusample.php?sampleid=24
Hope this helps
Andy
Poster: Ruth
Dated: Monday December 22 2003 - 20:10:03 GMT
Is the mmenuns4.js file an update for all of us?
Ruth
Poster: John
Dated: Monday December 22 2003 - 20:30:48 GMT
innkeeper9 wrote:
Is the mmenuns4.js file an update for all of us?
Why not
Poster: kevin3442
Dated: Tuesday December 23 2003 - 5:35:50 GMT
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:
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
Poster: yonan
Dated: Tuesday December 23 2003 - 8:58:47 GMT
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.
merry xmas, and thanks for all the help and replies.