C
Cerebral Believer
Hi folks,
I am using the following code for mouse over (roll-overs) in my XHTML code.
<a onmouseover="document.getElementById('sitemap').src =
'../images/buttons/sitemap_mo.jpg';"
onmouseout="document.getElementById('sitemap').src =
'../images/buttons/sitemap.jpg';"
href="../sitemap.htm" border="0">
<img id='sitemap' src="../images/buttons/sitemap.jpg" border="0" alt="Site
Map"/></a>
However, I have not preloaded the images, and wonder if someone could help
by suggesting suitable code to preload the images.
Regards,
C.B.
I am using the following code for mouse over (roll-overs) in my XHTML code.
<a onmouseover="document.getElementById('sitemap').src =
'../images/buttons/sitemap_mo.jpg';"
onmouseout="document.getElementById('sitemap').src =
'../images/buttons/sitemap.jpg';"
href="../sitemap.htm" border="0">
<img id='sitemap' src="../images/buttons/sitemap.jpg" border="0" alt="Site
Map"/></a>
However, I have not preloaded the images, and wonder if someone could help
by suggesting suitable code to preload the images.
Regards,
C.B.