MouseOver Mess

Jay Frantz jay at ccpl.ci.corpus-christi.tx.us
Mon Jul 5 23:05:28 EDT 1999


Alright, let me up, I've had enough...What am I doing wrong here? I can
only get the first .gif to mouseover. Am I missing something?

See the mess below:


<HTML>
<HEAD>
<TITLE>Corpus Christi Public Libraries</title><script
language="JavaScript">
<!--

if (document.images) {
  image1on = new Image();
  image1on.src = "information3.gif";

  image2on = new Image();
  image2on.src = "branches3.gif";

  image3on = new Image();
  image3on.src = "catalog3.gif";

  image4on = new Image();
  image4on.src = "children3.gif";

  image5on = new Image();
  image5on.src = "localhistory3.gif";
  
  image6on = new Image();
  image6on.src = "youngadult3.gif";

  image1off = new Image();
  image1off.src = "information.gif";

  image2off = new Image();
  image2off.src = "branches.gif";

  image3off = new Image();
  image3off.src = "catalog.gif";

  image4off = new Image();
  image4off.src = "children.gif";

  image5off = new Image();
  image5off.src = "localhistory.gif";

  image6off = new Image();
  image6off.src = "youngadult.gif";

}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src =
eval(changeImages.arguments[i+1] + ".src");
    }
  }
}

// -->
</script>
</head>


<BODY BGCOLOR="#ffffff" TEXT="#000000"
LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000"
MARGINHEIGHT=0 MARGINWIDTH=0>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><td><IMG SRC="header2 .gif" WIDTH=750 HEIGHT=80
BORDER=0></TD></TR></TABLE>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">

<tr>
<TD align=center BGCOLOR="#eee8cd"></TD>
<TD align=center BGCOLOR="#id7978"  COLSPAN=6>
<TABLE CELLPADDING=0 CELLSPACING=1 BORDER=0>
<TR><td  NOWRAP ></TD></TR><td><td></td><td></td>
<TR><TD  NOWRAP ><A
HREF="http://www.library.ci.corpus-christi.tx.us/home/info.htm"
onmouseover="changeImages('image1', 'image1on')"
 onmouseout="changeImages('image1','image1off')"><img
src="information.gif" width=152 height=41 border=0
name="image1"></A></TD></TR>
<TR><TD NOWRAP><A
HREF="http://www.library.ci.corpus-christi.tx.us/home/info.htm"
onmouseover="changeImages('image2,'image2on')"
onmouseout="changeImages('image2,'image2off')"><IMG SRC="branches.gif"
WIDTH="152" HEIGHT="41" BORDER=0 name="image2"></A></TD></TR>
<TR><TD NOWRAP><A
HREF="http://www.library.ci.corpus-christi.tx.us/home/libcat.htm"
onmouseover="changeImages('image3,'image3on')"
 onmouseout="changeImages('image3,'image3off')"><img src="catalog.gif"
width=152 height=41 border=0 alt="CATALOG OF LIBRARY HOLDINGS"
name="image3"></A></TD></TR>
<TR><TD NOWRAP><A
HREF="http://www.library.ci.corpus-christi.tx.us/children/children.htm"
onmouseover="changeImages('image4,'image4on')"
 onmouseout="changeImages('image4,'image4off')"><img src="children.gif"
width=152 height=41 border=0 alt="CHILDREN'S SERVICES"
name="image4"></A></TD></TR>
<TR><TD NOWRAP><A
HREF="http://www.library.ci.corpus-christi.tx.us/localhis/lh.htm"
onmouseover="changeImages('image5,'image5on')"
onmouseout="changeImages('image5,'image5off')"><img src="localhistory.gif"
width=152 height=41 border=0 name="image5"></A></TD></TR>
<TR><TD NOWRAP><A
HREF="http://www.library.ci.corpus-christi.tx.us/ya/youngadult.htm"
onmouseover="changeImages('image6,'image6on')"
 onmouseout="changeImages('image6,'image6off')"><img src="youngadult.gif"
width=152 height=41 border=0></A></TD></TR>
</TABLE><FONT COLOR="FFFFFF"><A
HREF="http://www.library.ci.corpus-christi.tx.us/home/apa.htm"><FONT
COLOR="FFFFFF">Internet Guidelines</A></FONT></FONT>
</TD>

<TD>



<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" height="100%">
 <TR>





 </TR>
 <TR>
  <TD ALIGN=center  WIDTH="80%"> <IMG SRC="wlo.gif" WIDTH="525"
HEIGHT="193" BORDER=0>




   <!-- dont mes wid -->
   <TABLE BORDER=0  CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
    <TR>
     <TD>
<TD BGCOLOR="#ffffff" VALIGN=TOP></TD>
</TR>




     <!-- table for white cells -->
      <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0  WIDTH="100%">
       <TR>
        <TD align=center ><B>805 Comanche Street,&nbsp;Corpus Christi,
Texas 78401</B>
         
        </TD>
       </TR>
       <TR>
        <TD BGCOLOR="#ffffff">


         <TABLE  WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=>
          <TR>
           
           
          </TR>
         </TABLE>


        <B><CENTER>Phone: (361) 880-7000&nbsp;(361)
880-7005</CENTER></B></TD>
       </TR>
      </TABLE>
</td></tr></table>

<TR>
</TABLE>


</TABLE><table bgcolor=000000><tr><td><TABLE BGCOLOR=000000
BORDERCOLOR=000000>
    <TR><!-- Row 1 -->
      <TD ALIGN="center" BGCOLOR=000000 BORDERCOLOR=000000><FONT
COLOR="FFFFFF"><A
HREF="http://www.library.ci.corpus-christi.tx.us/home/disclaimer.htm"><FONT
COLOR="FFFFFF">Disclaimer</FONT></A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></TD>
      <TD align="center"><FONT COLOR="FFFFFF"> 1997-1999&nbsp;Corpus
Christi Public
Libraries&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></TD>
      <TD align="right"><FONT COLOR="FFFFFF">Updated: 6/21/99</FONT></TD>
    </TR>
</TABLE>
</td></tr></table>

</BODY>
</HTML>

Regards,

JH Frantz





More information about the Web4lib mailing list