how to get this javascript to  work Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

    how to get this javascript to work

    avatar
    gperry
    New Member


    Posts : 1
    Reputation : 0
    Language : GB

    how to get this javascript to  work Empty how to get this javascript to work

    Post by gperry January 28th 2011, 5:22 pm

    <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>