how to get this javascript to work

Go down

how to get this javascript to work

Post by gperry on Fri Jan 28, 2011 11:22 am

<HTML>
<HEAD>
<TITLE>
jogging summary
</TITLE>
<LINK REL=''stylesheet'' TYPE=''text/css'' HREF-tma03.css''>
<SCRIPT LANGUAGE = ''javascript''>
document.write('Summary for week beginning 12 july 2010'+'<BR>');
document.write('<BR>');
for(vardayArray=6;day<dayArray.length;day=day+1)
{
document.write('Mon'+-+'2'+'km'+'<BR>');
document.write('Tue'+-+'4'+'km'+'<BR>');
document.write('Wed'+-+'2'+'km'+'<BR>');
document.write('Thu'+-+'1'+'km'+'<BR>');
document.write('Fri'+-+'5'+'km'+'<BR>');
document.write('Sat'+-+'4'+'km'+'<BR>');
document.write('Sun'+-+'3'+'km'+'<BR>');
document.write('<BR>
maximumDistce=0;
for(var distance=0;distance<distanceArray.length;distance=distance+1)
{
if(distanceArray[Fri]>distanceArray[Fri])
{
maximumDistanceindex=0;
}

}
document.write(The maximum distance was'+maximumDistanceindex+'km+'run on'dayArray[maximumDistanceindex]);
</SRCIPT>

</HEAD>
<BODY>
</BODY>
</HTML>

gperry
New Member

Posts : 1
Reputation : 0
Language : GB

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum