trying to put together my first onclick swap image and go to different page routine
below is the code inserted into the html file
the images will swap out but I don,t think the page redirect is working?
I,m stuck
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<script language="JavaScript"><!--
function flip(name,src) {
if (document.images)
document.images[name].src = src;
}
//--></script>
<title>Data Control Home Menu</title>
</head>
<body text="#ffffff" bgcolor="#ffffff">
<center>
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="482">
<tr>
<td colspan="4"><img SRC="topdc.gif" width=482 height=149 border=0></td>
</tr>
<tr>
<td valign="top" rowspan="4"><img SRC="ldc.gif" width=31 height=116 border=0></td>
<td valign="top"><img SRC="generalin.gif" width=135 height=29 border=0></td>
<td valign="top" rowspan="4"><img SRC="generaldc.gif" width=279 height=116 border=0></td>
<td valign="top" rowspan="4"><img SRC="rdc.gif" width=37 height=116 border=0></td>
</tr>
<tr>
<td valign="top"><a href="services.html" onClick="flip('general1','servicesin.gif');return false"><img SRC="servicesout.gif" name="general1" width=135 height=29 border=0></a></td>
</tr>
<tr>
<td valign="top"><a href="experience.html" onClick="flip('general2','experiencein.gif');return false"><img SRC="experienceout.gif" name="general2" width=135 height=29 border=0></a></td>
</tr>
<tr>
<td valign="top"><a href="talk.html" onClick="flip('general3','talkin.gif');return false"><img SRC="talkout.gif" name="general3" width=135 height=29 border=0></a></td>
<tr>
<td colspan="4"><img SRC="botdc.gif" width=482 height=90 border=0></td>
</tr>
</table>
</center>
</body>
</html>
below is the code inserted into the html file
the images will swap out but I don,t think the page redirect is working?
I,m stuck
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<script language="JavaScript"><!--
function flip(name,src) {
if (document.images)
document.images[name].src = src;
}
//--></script>
<title>Data Control Home Menu</title>
</head>
<body text="#ffffff" bgcolor="#ffffff">
<center>
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="482">
<tr>
<td colspan="4"><img SRC="topdc.gif" width=482 height=149 border=0></td>
</tr>
<tr>
<td valign="top" rowspan="4"><img SRC="ldc.gif" width=31 height=116 border=0></td>
<td valign="top"><img SRC="generalin.gif" width=135 height=29 border=0></td>
<td valign="top" rowspan="4"><img SRC="generaldc.gif" width=279 height=116 border=0></td>
<td valign="top" rowspan="4"><img SRC="rdc.gif" width=37 height=116 border=0></td>
</tr>
<tr>
<td valign="top"><a href="services.html" onClick="flip('general1','servicesin.gif');return false"><img SRC="servicesout.gif" name="general1" width=135 height=29 border=0></a></td>
</tr>
<tr>
<td valign="top"><a href="experience.html" onClick="flip('general2','experiencein.gif');return false"><img SRC="experienceout.gif" name="general2" width=135 height=29 border=0></a></td>
</tr>
<tr>
<td valign="top"><a href="talk.html" onClick="flip('general3','talkin.gif');return false"><img SRC="talkout.gif" name="general3" width=135 height=29 border=0></a></td>
<tr>
<td colspan="4"><img SRC="botdc.gif" width=482 height=90 border=0></td>
</tr>
</table>
</center>
</body>
</html>