|
|
 |
| Author | Post |
|---|
pookieno5 Member

|
Posted: Sun Aug 31st, 2003 09:48 pm |
|
Hi Guys,
Can someone kindly give the code for PRELOADED mouseovers in javascript?
cheers!
|
Webmiester03 Member

|
Posted: Wed Oct 29th, 2003 07:28 pm |
|
Shove this in somewhere, hope thats what you meant!
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
image1 = new Image();
image1.src = "mouseover1";
image2 = new Image();
image2.src = "mouseover2";
image3 = new Image();
image3.src = "mouseover3";
image4 = new Image();
image4.src = "mouseover4";
image5 = new Image();
image5.src = "mouseover5";
// End -->
</script>
</HEAD>
<BODY>
<a href="link1" onmouseover="image1.src='mouseover1';"
onmouseout="image1.src='imagelocation1';">
<img name="image1" src="imagelocation1" border=0></a>
<a href="link2" onmouseover="image2.src='mouseover2';"
onmouseout="image2.src='imagelocation2';">
<img name="image2" src="imagelocation2" border=0></a>
<a href="link3" onmouseover="image3.src='mouseover3';"
onmouseout="image3.src='imagelocation3';">
<img name="image3" src="imagelocation3" border=0></a>
<a href="link4" onmouseover="image4.src='mouseover4';"
onmouseout="image4.src='imagelocation4';">
<img name="image4" src="imagelocation4" border=0></a>
<a href="link5" onmouseover="image5.src='mouseover5';"
onmouseout="image5.src='imagelocation5';">
<img name="image5" src="imagelocation5" border=0></a>
</BODY>
|
 Current time is 10:05 am | |
|
|
 |
|
|
|
Powered by
WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
Page processed in 0.1249 seconds (10% database + 90% PHP). 16 queries executed.