Newbie question about brainjar.com menu

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);
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top