Well, I took the advice of some other postings and used the mighty mouseover machine to create a test button. Now it works a lot better, especially with the transparent gifs. On the preview, however, I roll over with the mouse, and it changes into a transparent outline with a small red x in the upper left hand corner, probably signifying that it can not find the image1on.src file. I triple checked the file name and path, and I think I'm going crazy.Here is my code, very basic right now. Can anybody look at it and see if they see anything wrong with it? I appreciate it a lot!!!!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<script language="JavaScript">
<!--
if (document.images) {
image1on = new Image();
image1on.src = "D:\Temp\FlashTyper\HomeButtonB.GIF";
image1off = new Image();
image1off.src = "D:\Temp\FlashTyper\HomeButtonA.GIF";
}
function changeImages() {
if (document.images) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments].src = eval(changeImages.arguments[i+1] + ".src");
}
}
}
// -->
</script>
</head>
<body background="BackgroundTrans4.jpg">
<a href="" onMouseOver="changeImages('image1', 'image1on')" onMouseOut="changeImages('image1', 'image1off')"><img name="image1" src="D:\Temp\FlashTyper\HomeButtonA.GIF" alt="" width=184 height=38 border=0></a>
</body>
</html>