H
Hexkit
I have the menu code from the www.brainjar.com. In safari, IE or
Firefox the secondary drop down fades out too quickly and users are not
able to make a selection. It looks like the culprit is this piece of
code.
I want to add a piece of code that gives user 5 or 10 seconds before it
fades out the secondary menu. Help.
function menuMouseover(event)
{
var menu;
// Find the target menu element. !!!!!!!! @@@@@@@
if (browser.isIE)
menu = getContainerWith(window.event.srcElement, "DIV", "menu");
else
menu = event.currentTarget;
// Close any active sub menu. !!!!!!! @@@@@@@@@@
if (menu.activeItem != null)
//close menu or fad out after 10 seconds
closeSubMenu(menu);
}
Firefox the secondary drop down fades out too quickly and users are not
able to make a selection. It looks like the culprit is this piece of
code.
I want to add a piece of code that gives user 5 or 10 seconds before it
fades out the secondary menu. Help.
function menuMouseover(event)
{
var menu;
// Find the target menu element. !!!!!!!! @@@@@@@
if (browser.isIE)
menu = getContainerWith(window.event.srcElement, "DIV", "menu");
else
menu = event.currentTarget;
// Close any active sub menu. !!!!!!! @@@@@@@@@@
if (menu.activeItem != null)
//close menu or fad out after 10 seconds
closeSubMenu(menu);
}