-
Type:
Change Request
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
Component/s: Frontend (F)
-
None
-
Environment:1.6.4
Patch attached to introduce a delay in the update of the sub-navigation menu as a user mouse-over's the main navigation menu.
I'm presuming others are not as accurate with their mouse and sometimes accidentally hover over the parent nav whilst trying to select a subnav option. In this instance, the user then needs to go back and reselect the intended parent nav option again.
The patch below introduces a 0.75s delay.
–
-
-
- common.js 2009-08-20 23:17:11.000000000 +1000
- common.js 2009-08-20 23:18:34.000000000 +1000
***************
- 508,514 ****
-
mouseOver: function(show_label)
{ clearTimeout(this.timeout); ! MMenu.showSubMenu(show_label); },
submenu_mouseOver: function(){
— 508,514 ----
mouseOver: function(show_label){
clearTimeout(this.timeout);
! this.timeout = setTimeout ( function()
, 750 );
},
submenu_mouseOver: function()
{ *************** *** 516,521 **** --- 516,522 ---- },
mouseOut: function()
{ + clearTimeout(this.timeout); this.timeout = setTimeout('MMenu.showSubMenu("'+this.def_label+'")', 2000); },