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:32

Bug with key "F2" menu


Poster: axel1258
Dated: Thursday July 5 2007 - 12:45:46 BST

Hi,

I'm using the 5.16 version with keypress.js on IE 6 web browser.

I've noticed a bug with the "F2" key when you're over some items in the menu.
The error given is "'_m[...].7' has a null value or is not an object"
It's seems it's fixed when you add a null test before the function getNextMainMenu() in keypress.js :
(I'm not good in javascript and I think there is a better code for this)

function getNextMainMenu(){
var a
for(a=_mainM;a<_m.length;a++){
if (_m[a] != null && _m[a][7] != null) {
if(a>_mainM&&_m[a][7]){
(...)
}


Poster: axel1258
Dated: Thursday July 5 2007 - 13:31:02 BST

[SOLVED]
This is due to my menu_data.js. This file is generated and contains some submenu without items (aI(...))...
After clean it, the menu works perfectly.

Thx