Ok I have gotten the rollover to work. But it is showing the first and the last image in addition to the image with the rollover. Here is the code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">
<html> <!-- Frames the HTML Page -->
<head> <!-- Title Open Command -->
<title> Welcome to Howling Wolf Studios </title> <!-- Title at top of browser -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var maximages = 11; // how many fade images do you have?
var fadespeed = 125; // fade frame time in milliseconds; 125 = 125 ms
var fadeintimer;
var fadeouttimer;
var fadeincount = 0;
var fadeoutcount = maximages-1;
var fadearray = new Array(maximages); // enter all the fade images here
// the first item should be 0, then numbered through 1 less than your maximages
fadearray[0] = "images/NewWolfLogo.jpg";
fadearray[1] = "images/NewWolfLogoFade00.jpg";
fadearray[2] = "images/NewWolfLogoFade01.jpg";
fadearray[3] = "images/NewWolfLogoFade02.jpg";
fadearray[4] = "images/NewWolfLogoFade03.jpg";
fadearray[5] = "images/NewWolfLogoFade04.jpg";
fadearray[6] = "images/NewWolfLogoFade05.jpg";
fadearray[7] = "images/NewWolfLogoFade06.jpg";
fadearray[8] = "images/NewWolfLogoFade07.jpg";
fadearray[9] = "images/NewWolfLogoFade08.jpg";
fadearray[10] = "images/NewWolfLogoFade09.jpg";
for (var i = 0; i < maximages; i++) {
eval('pic' + i + ' = new Image();');
eval('pic' + i + '.src = fadearray;'); // preloads fade images
}
function fade_in() {
clearTimeout(fadeouttimer);
document.images['HWSLogo'].src = fadearray[fadeincount];
if (fadeincount != maximages-1) {
fadeincount++;
fadeintimer = setTimeout('fade_in()', fadespeed);
}
else {
clearTimeout(fadeintimer);
fadeincount = 0;
}
}
function fade_out() {
clearTimeout(fadeintimer);
document.images['HWSLogo'].src = fadearray[fadeoutcount];
if (fadeoutcount != 0) {
fadeoutcount--;
fadeouttimer = setTimeout('fade_out()', fadespeed);
}
else {
clearTimeout(fadeouttimer);
fadeoutcount = maximages-1;
}
}
// End -->
</script>
</head> <!-- Title Close Command -->
<body> <!-- Frames the content of the page -->
<body bgcolor="#000000" text="FF0000"> <!-- Background color and text color -->
<font face= "Arial"size="+5"> <!-- Text Formatting -->
<b>
<i>
<div align="center" <!-- Alignment to center -->
Welcome to Howling Wolf Studios
</font>
</div>
<br>
<center>
<a href="mailto:jbock@howlingwolfstudios.net" onmouseover="fade_in()" onmouseout="fade_out()">
<img name="HWSLogo" height=457 width=445 border=0 src="images/NewWolfLogo.jpg"><br>
</center>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font>
<font face= "Arial"size="+1"> <!-- Text Formatting -->
This is my group project called Deadfall done in Alias' Maya. The assignment was to design a 30 second animation that flies around the capture the flag level we designed and built. I worked on everything on the red base minus the three gun turrents. To download the file right mouse click and hit "save target as".
<br>
<br>
<a href="images/deadfall.mov"><font size="+1" color="#FFFFFF"> <u> Click here to download Deadfall.</u></font></a>
<br>
<br>
This is my first project done in my Interactive Design Class. The assignment was to make an animation from the Shockwave Rider excerpt, which you can <A HREF="html/Shockwave.html "font size="+1" color="#FFFFFF" target="blank" ><font size="+1" color="#FFFFFF"><u> read here</u></font></a>. To download the file right mouse click and hit "save target as".
<br>
<br>
<a href="images/Shockwave.mov"><font size="+1" color="#FFFFFF"><u> Click here to download the Shockwave Rider.</u></font></a>
<br>
<font face= "Arial"size="+1"> <!-- Text Formatting -->
<br>
Don't have Quicktime?
<a href="http://www.apple.com/quicktime/download/index.html"target="blank"> <font size="+1" color="#FFFFFF" ><u>
<br>
Download it here.</u></a>
<br>
<a href="http://www.apple.com/quicktime/download/index.html"><img src="images/getquicktime.gif" hspace="15" vspace="15" border="0" ></u></font></a>
<br>
<br>
<A HREF="mailto:jbock@howlingwolfstudios.net"> <font size="+1" color="#FFFFFF"><u> Contact Me</A>
<!-- Text Formatting -->
</i>
</font>
</body>
</html>