[thelist] Javascript Timeouts

Joel Konkle-Parker jjk3 at msstate.edu
Mon Jun 24 15:02:00 CDT 2002


I have the following function in my page:

function hideMenu(menu){
  setTimeout("document.getElementById(menu).style.visibility = 'hidden'", 2000);
}

called by the following event handler:

onmouseout="hidMenu('yadaYadaYada')"

When I try to run this, however, IE gives a "'menu' not defined" error. What's
my problem?

-joeljkp



-------------------------------------------------------
http://www.ballsome.com/test/



More information about the thelist mailing list