I am running a new design on a test server and although near completion I am getting errors on every page. The errors seem t0be connected with the following syntax:
<script language=JavaScript>
<!--
var currentcol = 0;
var colwidth = Math.floor(100 / );
// -->
</script>
and
<script language=JavaScript>
<!--
if ( currentcol != 0 )
{
while ( currentcol++ < ) document.write('<td width="' + colwidth + '%"></td>');
document.write('</tr></table></td></tr>');
currentcol = 0;
}
// -->
</script>
Can anyone tell me what these small scripts and what I might be able to do to correct the errors please.
Mark
<script language=JavaScript>
<!--
var currentcol = 0;
var colwidth = Math.floor(100 / );
// -->
</script>
and
<script language=JavaScript>
<!--
if ( currentcol != 0 )
{
while ( currentcol++ < ) document.write('<td width="' + colwidth + '%"></td>');
document.write('</tr></table></td></tr>');
currentcol = 0;
}
// -->
</script>
Can anyone tell me what these small scripts and what I might be able to do to correct the errors please.
Mark
Comment