PDA

View Full Version : menu timer


nuclear vapid
04-03-2001, 05:02 PM
Ok, I ahve a very simple menu thing going on here
http://www.gbtyrrell.co.uk/temp/test.html

I only need to add a timer to it so that the submenu stays open for at
least 1 second. What am I doing wrong, please Again it is a case of my
missing the obvious somewhere...

Ta!

COBOLdinosaur
04-07-2001, 01:56 PM
The syntax is wrong. You use the funtion to delay execution of a function like this:

setTimeout('somefunc()',1000);

The code you have there won't to a thing to control timing;