Okay, I changed a few things, and this is how I want it to work
, can you please make this work.
Thanks.
<head>
<meta http-equiv="Content-Language" content="en-au">
</head>
<body bgcolor="#000000">
<font face="Tahoma">
<table border="1" width="631" height="208" bordercolorlight="#000080" bordercolordark="#000080" style="border-collapse: collapse">
<tr>
<td width="101" height="23" align="center"><font color="#008000"><b>Time</b></font></td>
<td width="64" height="23" align="center"><font color="#008000"><b>Monday</b></font></td>
<td width="69" height="23" align="center"><font color="#008000"><b>Tuesday</b></font></td>
<td width="94" height="23" align="center"><font color="#008000"><b>Wednesday</b></font></td>
<td width="76" height="23" align="center"><font color="#008000"><b>Thursday</b></font></td>
<td width="60" height="23" align="center"><font color="#008000"><b>Friday</b></font></td>
<td width="74" height="23" align="center"><font color="#008000"><b>Saturday</b></font></td>
<td width="61" height="23" align="center"><font color="#008000"><b>Sunday</b></font></td>
</tr>
<tr>
<td width="101" height="24" align="center"><font color="#008080">8:30 - 9:30</font></td>
<td width="64" height="24" align="center"><font color="#008080" id="cella1">Period 1</font></td>
<td width="69" height="24" align="center"><font color="#008080" id="cella2">Period 1</font></td>
<td width="94" height="24" align="center"><font color="#008080" id="cella3">Period 1</font></td>
<td width="76" height="24" align="center"><font color="#008080" id="cella4">Period 1</font></td>
<td width="60" height="24" align="center"><font color="#008080" id="cella5">Period 1</font></td>
</font>
<font face="Thaoma">
<td width="74" rowspan="8" align="center"> </td>
<td width="61" rowspan="8" align="center"> </td>
</tr>
</font>
<font face="Tahoma">
<tr>
<td width="101" height="24" align="center"><font color="#008080" face="Tahoma">9:30 - 10:30</font></td>
<td width="64" height="24" align="center"><font color="#008080" face="Tahoma" id="cellb1">Period 2</font></td>
<td width="69" height="24" align="center"><font color="#008080" face="Tahoma" id="cellb2">Period 2</font></td>
<td width="94" height="24" align="center"><font color="#008080" face="Tahoma" id="cellb3">Period 2</font></td>
<td width="76" height="24" align="center"><font color="#008080" face="Tahoma" id="cellb4">Period 2</font></td>
<td width="60" height="24" align="center"><font color="#008080" face="Tahoma" id="cellb5">Period 2</font></td>
</tr>
<tr>
<td width="101" height="24" align="center"><font color="#008080" face="Tahoma">10:30 - 11:00</font></td>
<td width="64" height="24" align="center"><font color="#008080" face="Tahoma" id="cellc1">Recess</font></td>
<td width="69" height="24" align="center"><font color="#008080" face="Tahoma" id="cellc2">Recess</font></td>
<td width="94" height="24" align="center"><font color="#008080" face="Tahoma" id="cellc3">Recess</font></td>
<td width="76" height="24" align="center"><font color="#008080" face="Tahoma" id="cellc4">Recess</font></td>
<td width="60" height="24" align="center"><font color="#008080" face="Tahoma" id="cellc5">Recess</font></td>
</tr>
<tr>
<td width="101" height="24" align="center"><font color="#008080" face="Tahoma">11:00 -11:15</font></td>
<td width="64" height="24" align="center"><font color="#008080" face="Tahoma" id="celld1">Tutorial</font></td>
<td width="69" height="24" align="center"><font color="#008080" face="Tahoma" id="celld2">Tutorial</font></td>
<td width="94" height="24" align="center"><font color="#008080" face="Tahoma" id="celld3">Tutorial</font></td>
<td width="76" height="24" align="center"><font color="#008080" face="Tahoma" id="celld4">Tutorial</font></td>
<td width="60" height="24" align="center"><font color="#008080" face="Tahoma" id="celld5">Tutorial</font></td>
</tr>
<tr>
<td width="101" height="24" align="center"><font color="#008080" face="Tahoma">11:15 - 12:15</font></td>
<td width="64" height="24" align="center"><font color="#008080" face="Tahoma" id="celle1">Period 3</font></td>
<td width="69" height="24" align="center"><font color="#008080" face="Tahoma" id="celle2">Period 3</font></td>
<td width="94" height="24" align="center"><font color="#008080" face="Tahoma" id="celle3">Period 3</font></td>
<td width="76" height="24" align="center"><font color="#008080" face="Tahoma" id="celle4">Period 3</font></td>
<td width="60" height="24" align="center"><font color="#008080" face="Tahoma" id="celle5">Period 3</font></td>
</tr>
<tr>
<td width="101" height="24" align="center"><font color="#008080" face="Tahoma">12:15 - 1:15</font></td>
<td width="64" height="24" align="center"><font color="#008080" face="Tahoma" id="cellf1">Period 4</font></td>
<td width="69" height="24" align="center"><font color="#008080" face="Tahoma" id="cellf2">Period 4</font></td>
<td width="94" height="24" align="center"><font color="#008080" face="Tahoma" id="cellf3">Period 4</font></td>
<td width="76" height="24" align="center"><font color="#008080" face="Tahoma" id="cellf4">Period 4</font></td>
<td width="60" height="24" align="center"><font color="#008080" face="Tahoma" id="cellf5">Period 4</font></td>
</tr>
<tr>
<td width="101" height="24" align="center"><font color="#008080" face="Tahoma">1:15 - 1:45</font></td>
<td width="64" height="24" align="center"><font color="#008080" face="Tahoma" id="cellg1">Lunch</font></td>
<td width="69" height="24" align="center"><font color="#008080" face="Tahoma" id="cellg2">Lunch</font></td>
<td width="94" height="24" align="center"><font color="#008080" face="Tahoma" id="cellg3">Lunch</font></td>
<td width="76" height="24" align="center"><font color="#008080" face="Tahoma" id="cellg4">Lunch</font></td>
<td width="60" height="24" align="center"><font color="#008080" face="Tahoma" id="cellg5">Lunch</font></td>
</tr>
<tr>
<td width="101" height="25" align="center"><font color="#008080" face="Tahoma">1:45 - 2:50</font></td>
<td width="64" height="25" align="center"><font color="#008080" face="Tahoma" id="cellh1">Period 5</font></td>
<td width="69" height="25" align="center"><font color="#008080" face="Tahoma" id="cellh2">Period 5</font></td>
<td width="94" height="25" align="center"><font color="#008080" face="Tahoma" id="cellh3">Period 5</font></td>
<td width="76" height="25" align="center"><font color="#008080" face="Tahoma" id="cellh4">Period 5</font></td>
<td width="60" height="25" align="center"><font color="#008080" face="Tahoma" id="cellh5">Period 5</font></td>
</tr>
</table>
</font>
<font face="Thaoma">
<p><span style="background-color: #FF0000">
<script type="text/javascript">
<!--
var Eps = new Date()
var day = Eps.getDay()
var hours = Eps.getHours()
var mins = Eps.getMinutes()
if (hours >= 8 && hours <= 8 && mins >= 30 && mins <= 59){
cell = document.getElementById('cella'+day')
}
if (hours >= 9 && hours <= 9 && mins >= 0 && mins <= 30){
cell = document.getElementById('cella'+day')
}
if (hours >= 9 && hours <= 9 && mins >= 30 && mins <= 59){
cell = document.getElementById('cellb'+day')
}
if (hours >= 10 && hours <= 10 && mins >= 0 && mins <= 30){
cell = document.getElementById('cellb'+day')
}
if (hours >= 10 && hours <= 10 && mins >= 30 && mins <= 59){
cell = document.getElementById('cellc'+day')
}
if (hours >= 11 && hours <= 11 && mins >= 0 && mins <= 15){
cell = document.getElementById('celld'+day')
}
if (hours >= 11 && hours <= 11 && mins >= 15 && mins <= 59){
cell = document.getElementById('celle'+day')
}
if (hours >= 12 && hours <= 12 && mins >= 0 && mins <= 15){
cell = document.getElementById('celle'+day')
}
if (hours >= 12 && hours <= 12 && mins >= 15 && mins <= 59){
cell = document.getElementById('cellf'+day')
}
if (hours >= 13 && hours <= 13 && mins >= 0 && mins <= 15){
cell = document.getElementById('cellf'+day')
}
if (hours >= 13 && hours <= 13 && mins >= 15 && mins <= 45){
cell = document.getElementById('cellg'+day')
}
if (hours >= 13 && hours <= 23 && mins >= 0 && mins <= 59){
cell = document.getElementById('cellh'+day')
}
cell.style.backgroundColor = "FF0000";
//-->
</script> </span> <font color="#FFFFFF">= The
Period you are currently in.</font></p>
Edited by Linden, 01 May 2007 - 07:55 AM.