Wow Web Designs Forums Home

Search
   
Members

Calendar

Help

Home
Search by username
Not logged in - Login | Register 
Wow Web Designs Forums > Scripting > JavaScript & DHTML > completly forgotten the code


completly forgotten the code
 Moderated by: Aycan  

New Topic

Reply

Print
AuthorPost
pookieno5
Member


Joined: Tue Jul 22nd, 2003
Location: London, United Kingdom
Posts: 106
Status:  Offline
Mana: 
 Posted: Sun Aug 31st, 2003 09:48 pm

Quote

Reply
Hi Guys,

 

Can someone kindly give the code for PRELOADED mouseovers in javascript?

 

cheers!

Webmiester03
Member


Joined: Sun May 4th, 2003
Location: Richmond, United Kingdom
Posts: 14
Status:  Offline
Mana: 
 Posted: Wed Oct 29th, 2003 07:28 pm

Quote

Reply
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.