I would change the function thus:
Code:
function slideMenu(menu)
{
var oMenu = document.getElementById(menu);
oMenu.style.left = -1000;
oMenu.style.top = -200;
}
and then change the first one to read:
Code:
setTimeout("slideMenu('" + menuToHide.id + "');",500);
Parameters need to be in global scope if they are variables.
Why are you setting srcElement in the other function and not using it
--
Joe