length of time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mammothman42@hotmail.com

    #1

    length of time

    hi everyone

    i need some creative input. i'm trying to enable the user to input a
    length of time, from one day to about 10 years. ideas i've had have
    been:
    - 3 pull down boxes, for days, months, years
    -an entry box for a value and a pull down box for units (days, weeks,
    months, years)
    - a scroll bar to slide along to a corresponding time

    I'm not sure i should even use javascript, maybe an applet instead. I'd
    really appreciated some new ideas or brainstorming.

    cheers
    dave

  • McKirahan

    #2
    Re: length of time

    <mammothman42@h otmail.com> wrote in message
    news:1096515625 .817213.275050@ k17g2000odb.goo glegroups.com.. .[color=blue]
    > hi everyone
    >
    > i need some creative input. i'm trying to enable the user to input a
    > length of time, from one day to about 10 years. ideas i've had have
    > been:
    > - 3 pull down boxes, for days, months, years
    > -an entry box for a value and a pull down box for units (days, weeks,
    > months, years)
    > - a scroll bar to slide along to a corresponding time
    >
    > I'm not sure i should even use javascript, maybe an applet instead. I'd
    > really appreciated some new ideas or brainstorming.
    >
    > cheers
    > dave
    >[/color]

    How will it be used?

    Would a calendar control be applicable?


    Comment

    • mammothman42@hotmail.com

      #3
      Re: length of time

      just to indicate how long in time a project will take. a calendar can
      only really do dates.

      cheers
      dave

      Comment

      • Evertjan.

        #4
        Re: length of time

        wrote on 30 sep 2004 in comp.lang.javas cript:
        [color=blue]
        > i need some creative input. i'm trying to enable the user to input a
        > length of time, from one day to about 10 years. ideas i've had have
        > been:
        > - 3 pull down boxes, for days, months, years
        > -an entry box for a value and a pull down box for units (days, weeks,
        > months, years)
        > - a scroll bar to slide along to a corresponding time
        >[/color]

        It realy depends on your audience.
        [corporate, academics, general public, sf-writers, etc?]

        For myself, I hate using those long pull-downs.
        I would use a parsable string, giving the user a choice:

        "3y2m23d"
        "3.4y"
        "23m2d"
        "3y60d"

        and I would parse them serverside,
        perhaps after 'some' clientside validation.

        --
        Evertjan.
        The Netherlands.
        (Please change the x'es to dots in my emailaddress,
        but let us keep the discussions in the newsgroup)

        Comment

        • Philip Ronan

          #5
          Re: length of time

          On 30/9/04 6:00 am, mammothman42@ho tmail.com wrote:
          [color=blue]
          > just to indicate how long in time a project will take. a calendar can
          > only really do dates.
          >
          > cheers
          > dave
          >[/color]

          If you mean the *estimated* duration, then I assume you don't need time
          durations of several years to be stated to the nearest day.

          So why not have a single numeric input with a choice of 4 radio buttons (or
          a pull-down menu) for "Days", "Weeks", "Months" or "Years"?

          (That'll be 2¢ please)

          --
          Philip Ronan
          phil.ronanzzz@v irgin.net
          (Please remove the "z"s if replying by email)


          Comment

          • mammothman42@hotmail.com

            #6
            Re: length of time

            lol yeah cheers thanks for that, i think that's what i'll do. It's not
            that big an issue, i'm just at that stage of the website where little
            difficulties like that start to rear their ugly head.

            cheers
            dave

            Comment

            • Dr John Stockton

              #7
              Re: length of time

              JRS: In article <1096515625.817 213.275050@k17g 2000odb.googleg roups.com>
              , dated Wed, 29 Sep 2004 20:40:25, seen in news:comp.lang. javascript,
              mammothman42@ho tmail.com posted :[color=blue]
              >
              >i need some creative input. i'm trying to enable the user to input a
              >length of time, from one day to about 10 years. ideas i've had have
              >been:
              >- 3 pull down boxes, for days, months, years
              >-an entry box for a value and a pull down box for units (days, weeks,
              >months, years)
              >- a scroll bar to slide along to a corresponding time[/color]


              That depends on the accuracy required, on the type of person entering
              the data, and on the conventions of the field.

              For a data-entry clerk entering such data frequently, use space-
              separated numbers for Y M D; if not all possible sub-fields may be
              present, use suffix letters as in 152w or 3y.

              For a Boss, stating policy infrequently, you could well use something
              slower, to make time to think. If the lengths of time are drawn from a
              conventional set such as 1d 2d 3d 1w 2w 1m 2m 3m 6m 1y 2y 5y 10y, then a
              slider indexing an array of values might serve.

              Pull-down boxes are slow; and there is the question of the number of
              days in a month.

              If best accuracy of duration is needed, you can use only days and weeks;
              years are almost as good.

              --
              © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
              <URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
              <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
              <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

              Comment

              • Fox

                #8
                Re: length of time

                mammothman42@ho tmail.com wrote:[color=blue]
                > hi everyone
                >
                > i need some creative input. i'm trying to enable the user to input a
                > length of time, from one day to about 10 years. ideas i've had have
                > been:
                > - 3 pull down boxes, for days, months, years
                > -an entry box for a value and a pull down box for units (days, weeks,
                > months, years)
                > - a scroll bar to slide along to a corresponding time
                >
                > I'm not sure i should even use javascript, maybe an applet instead. I'd
                > really appreciated some new ideas or brainstorming.
                >
                > cheers
                > dave
                >[/color]


                Comment

                Working...