Help Me Test My Calendar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis M. Marks

    #1

    Help Me Test My Calendar

    Before you say anything I know that there are many monthly calendars
    out there. I did it for the challenge. My calendar was COMPLETLY done
    from scratch with no copied code except for the dynamic writing.

    I think is is one of the smallest dynamic calendars. It allows you to
    change the year and month with instant updating. It can be placed
    anywhere. On my page it is within a table cell.

    There are only 2 files. The javascript goes where the calendar is to
    appear. The CSS file goes in the head.

    Please test it and let me know if you find any problems.

    --
    Dennis M. Marks

    Replace domain.invalid with dcsi.net


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
  • Lasse Reichstein Nielsen

    #2
    Re: Help Me Test My Calendar

    "Dennis M. Marks" <denmarks@domai n.invalid> writes:
    [color=blue]
    > There are only 2 files. The javascript goes where the calendar is to
    > appear. The CSS file goes in the head.
    >
    > Please test it and let me know if you find any problems.[/color]

    Immediate impressions:
    The month/year/today form controls are missing in Opera.
    In IE, all months seem to have 29 days.

    Looking at the code, I can see April listed as having 3 days in your table.
    You don't need (and shouldn't have) "<!--" in your script file.

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Dennis M. Marks

      #3
      Re: Help Me Test My Calendar

      I have read the following message from Lasse Reichstein Nielsen
      <lrn@hotpop.com >
      and have decided to lend my vast knowledge.

      The writer said:[color=blue]
      > "Dennis M. Marks" <denmarks@domai n.invalid> writes:
      >[color=green]
      > > There are only 2 files. The javascript goes where the calendar is to
      > > appear. The CSS file goes in the head.
      > >
      > > Please test it and let me know if you find any problems.[/color]
      >
      > Immediate impressions:
      > The month/year/today form controls are missing in Opera.
      > In IE, all months seem to have 29 days.
      >
      > Looking at the code, I can see April listed as having 3 days in your table.
      > You don't need (and shouldn't have) "<!--" in your script file.
      >
      > /L
      > --
      > Lasse Reichstein Nielsen - lrn@hotpop.com
      > DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
      > 'Faith without judgement merely degrades the spirit divine.'
      >[/color]

      and my reply is:
      Table fixed. 29 days problem fixed. Comment delimeters removed. Works
      fine in IE5 and Netscape7 on a Mac. Since I don't have opera I will
      need advice on what would cause the problem.

      --
      Dennis M. Marks

      Replace domain.invalid with dcsi.net


      -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
      http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
      -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

      Comment

      • Mick White

        #4
        Re: Help Me Test My Calendar

        Dennis M. Marks wrote:
        [color=blue]
        > Before you say anything I know that there are many monthly calendars
        > out there. I did it for the challenge. My calendar was COMPLETLY done
        > from scratch with no copied code except for the dynamic writing.
        >
        > I think is is one of the smallest dynamic calendars. It allows you to
        > change the year and month with instant updating. It can be placed
        > anywhere. On my page it is within a table cell.
        >
        > There are only 2 files. The javascript goes where the calendar is to
        > appear. The CSS file goes in the head.
        >
        > Please test it and let me know if you find any problems.
        >[/color]
        I don't see any controls on the calendar (Safari 1.1, Mac), you may
        want to see how I approached the same task.

        Mick

        Comment

        • Dennis M. Marks

          #5
          Re: Help Me Test My Calendar

          I have read the following message from Mick White
          <mwhite13@BOGUS rochester.rr.co m>
          and have decided to lend my vast knowledge.

          The writer said:[color=blue]
          > Dennis M. Marks wrote:
          >[color=green]
          > > Before you say anything I know that there are many monthly calendars
          > > out there. I did it for the challenge. My calendar was COMPLETLY done
          > > from scratch with no copied code except for the dynamic writing.
          > >
          > > I think is is one of the smallest dynamic calendars. It allows you to
          > > change the year and month with instant updating. It can be placed
          > > anywhere. On my page it is within a table cell.
          > >
          > > There are only 2 files. The javascript goes where the calendar is to
          > > appear. The CSS file goes in the head.
          > >
          > > Please test it and let me know if you find any problems.
          > >[/color]
          > I don't see any controls on the calendar (Safari 1.1, Mac), you may
          > want to see how I approached the same task.
          > http://www.mickweb.com/javascript/arrays/oopsCal.html
          > Mick
          >[/color]

          and my reply is:
          I gave up since I didn't see much use for the dynamic calendar anyway.
          I now display a calendar generated with document.write which can't be
          changed.

          --
          Dennis M. Marks

          Replace domain.invalid with dcsi.net


          -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
          http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
          -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

          Comment

          • McKirahan

            #6
            Re: Help Me Test My Calendar

            "Dennis M. Marks" <denmarks@domai n.invalid> wrote in message
            news:2102200416 28260701%denmar ks@domain.inval id...[color=blue]
            > Before you say anything I know that there are many monthly calendars
            > out there. I did it for the challenge. My calendar was COMPLETLY done
            > from scratch with no copied code except for the dynamic writing.
            >
            > I think is is one of the smallest dynamic calendars. It allows you to
            > change the year and month with instant updating. It can be placed
            > anywhere. On my page it is within a table cell.
            >
            > There are only 2 files. The javascript goes where the calendar is to
            > appear. The CSS file goes in the head.
            >
            > Please test it and let me know if you find any problems.[/color]


            You might want to add the following line after the first "for" statement:

            if (i==6&&daily>mo nthDays) break;

            This will suppress the last line when it doesn't contain any dates.


            Comment

            • Dennis M. Marks

              #7
              Re: Help Me Test My Calendar

              I have read the following message from "McKirahan" <News@McKirahan .com>
              and have decided to lend my vast knowledge.

              The writer said:[color=blue]
              > "Dennis M. Marks" <denmarks@domai n.invalid> wrote in message
              > news:2102200416 28260701%denmar ks@domain.inval id...[color=green]
              > > Before you say anything I know that there are many monthly calendars
              > > out there. I did it for the challenge. My calendar was COMPLETLY done
              > > from scratch with no copied code except for the dynamic writing.
              > >
              > > I think is is one of the smallest dynamic calendars. It allows you to
              > > change the year and month with instant updating. It can be placed
              > > anywhere. On my page it is within a table cell.
              > >
              > > There are only 2 files. The javascript goes where the calendar is to
              > > appear. The CSS file goes in the head.
              > >
              > > Please test it and let me know if you find any problems.[/color]
              >
              >
              > You might want to add the following line after the first "for" statement:
              >
              > if (i==6&&daily>mo nthDays) break;
              >
              > This will suppress the last line when it doesn't contain any dates.
              >
              >
              >[/color]

              and my reply is:
              I thought about that but decided to keep the calendar the same size
              always. Thanks anyway. Maybe I'll get tired of the current calendar and
              change it later.

              --
              Dennis M. Marks

              Replace domain.invalid with dcsi.net


              -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
              http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
              -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

              Comment

              • Dennis M. Marks

                #8
                Re: Help Me Test My Calendar

                I have read the following message from "Dennis M. Marks"
                <denmarks@domai n.invalid>
                and have decided to lend my vast knowledge.

                The writer said:[color=blue]
                > I have read the following message from "McKirahan" <News@McKirahan .com>
                > and have decided to lend my vast knowledge.
                >
                > The writer said:[color=green]
                > > "Dennis M. Marks" <denmarks@domai n.invalid> wrote in message
                > > news:2102200416 28260701%denmar ks@domain.inval id...[color=darkred]
                > > > Before you say anything I know that there are many monthly calendars
                > > > out there. I did it for the challenge. My calendar was COMPLETLY done
                > > > from scratch with no copied code except for the dynamic writing.
                > > >
                > > > I think is is one of the smallest dynamic calendars. It allows you to
                > > > change the year and month with instant updating. It can be placed
                > > > anywhere. On my page it is within a table cell.
                > > >
                > > > There are only 2 files. The javascript goes where the calendar is to
                > > > appear. The CSS file goes in the head.
                > > >
                > > > Please test it and let me know if you find any problems.[/color]
                > >
                > >
                > > You might want to add the following line after the first "for" statement:
                > >
                > > if (i==6&&daily>mo nthDays) break;
                > >
                > > This will suppress the last line when it doesn't contain any dates.
                > >
                > >
                > >[/color]
                >
                > and my reply is:
                > I thought about that but decided to keep the calendar the same size
                > always. Thanks anyway. Maybe I'll get tired of the current calendar and
                > change it later.
                >
                > --[/color]

                and my reply is:
                Ok. I took your advice. "i==6&&" is not required. At that point in the
                loop it is always the first day of the week. If I'm past the last day
                of the month then "break" and skip 1 or 2 weeks. Don't forget If
                February starts on a sunday in a non leap year there will only be 4
                weeks.

                BTW: The current code does not allow the date to be changed after the
                display and it is in a "div" rather that a table cell.

                Can anyone find a smaller script for a monthly calendar? :-)

                --
                Dennis M. Marks

                Replace domain.invalid with dcsi.net


                -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
                http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
                -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

                Comment

                Working...