Hi,
Is there a way to delay an event once the mouseout event has been fired?
here is a test code...
Code:
<span style="visibility: hidden" onmouseover="this.style.visibility='visible'" onmouseout="this.style.visibility='hidden'">
<a href="build.php#1" hidefocus><img src="../images/website/jump processor.gif" width="16" height="16" border="0" alt="Click here to view PROCESSOR"></a>
<a href="build.php#2" hidefocus><img src="../images/website/jump chipset.gif" width="16" height="16" border="0" alt="Click here to view CHIPSET"></a>
<a href="build.php#3" hidefocus><img src="../images/website/jump graphics.gif" width="16" height="16" border="0" alt="Click here to view GRAPHICS"></a>
<a href="build.php#4" hidefocus><img src="../images/website/jump memory.gif" width="16" height="16" border="0" alt="Click here to view MEMORY"></a>
<a href="build.php#5" hidefocus><img src="../images/website/jump sound.gif" width="16" height="16" border="0" alt="Click here to view SOUND"></a>
<a href="build.php#6" hidefocus><img src="../images/website/jump hard drive.gif" width="16" height="16" border="0" alt="Click here to view HARD DRIVE"></a>
<a href="build.php#7" hidefocus><img src="../images/website/jump disc drive.gif" width="16" height="16" border="0" alt="Click here to view DISC DRIVE 1"></a>
<a href="build.php#8" hidefocus><img src="../images/website/jump disc drive.gif" width="16" height="16" border="0" alt="Click here to view DISC DRIVE 2"></a>
<a href="build.php#9" hidefocus><img src="../images/website/jump floppy drive.gif" width="16" height="16" border="0" alt="Click here to view FLOPPY DRIVE"></a>
<a href="build.php#10" hidefocus><img src="../images/website/jump power supply.gif" width="16" height="16" border="0" alt="Click here to view POWER SUPPLY"></a>
<a href="build.php#11" hidefocus><img src="../images/website/jump display.gif" width="16" height="16" border="0" alt="Click here to view DISPLAY"></a>
<a href="build.php#12" hidefocus><img src="../images/website/jump case.gif" width="16" height="16" border="0" alt="Click here to view CASE"></a>
<a href="build.php#13" hidefocus><img src="../images/website/jump keyboard.gif" width="16" height="16" border="0" alt="Click here to view KEYBOARD"></a>
<a href="build.php#14" hidefocus><img src="../images/website/jump mouse.gif" width="16" height="16" border="0" alt="Click here to view MOUSE"></a>
<a href="build.php#15" hidefocus><img src="../images/website/jump speakers.gif" width="16" height="16" border="0" alt="Click here to view SPEAKERS"></a>
<a href="build.php#16" hidefocus><img src="../images/website/jump windows.gif" width="16" height="16" border="0" alt="Click here to view WINDOWS"></a>
<a href="build.php#17" hidefocus><img src="../images/website/jump delivery.gif" width="16" height="16" border="0" alt="Click here to view DELIVERY"></a>
<a href="build.php#18" hidefocus><img src="../images/website/jump warranty.gif" width="16" height="16" border="0" alt="Click here to view WARRANTY"></a>
<a href="build.php#19" hidefocus><img src="../images/website/jump install.gif" width="16" height="16" border="0" alt="Click here to view INSTALL"></a>
<a href="build.php#20" hidefocus><img src="../images/website/jump themes.gif" width="16" height="16" border="0" alt="Click here to view THEMES"></a>
<a href="build.php#21" hidefocus><img src="../images/website/jump performance.gif" width="16" height="16" border="0" alt="Click here to view PERFORMANCE"></a>
<a href="build.php#22" hidefocus><img src="../images/website/jump backup.gif" width="16" height="16" border="0" alt="Click here to view BACKUP"></a>
<img src="../images/website/expand.gif" alt="MENU" style="visibility: visible">
</span>
What it does is create a line of clickable images then hides all of them apart from the last one, which when you mouseover then reveals all the others.
The problem is that the images are quite small so it's easy to move off the <span> while moving the pointer to the desired image. This then fires the mouseout event and hides the <span> so the user has to go back to the menu image to reveal the <span> again.
What I need is for the <span> to stay visible say for 5 seconds after the mouseout then hide the <span>.
I have tried using the setTimeout function but this seems to require calling a javascript function and I can't seem to crack that bit.
Also, just to make it a little bit harder

the above code is part of an array and duplicates itself during the page load so you can't reference the <span> by an ID tag as each copy will have the same ID.
Cheers in advance for any help
Carbon