javascript calender??

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

    #1

    javascript calender??

    hi.. i want to do something like... there is a input box on the main
    page.. and on the side of the input box there is a link called
    "calender", when user click on that, there is a new calender opens in a
    new window, displaying two monthes of date, then when user cilcks on
    the date, it closes the new window, put the date into the input box in
    this format: yyyy-mm-dd.. i heard it's something to do with:
    href="javascrip t:OpenCalendar( )".. not too sure though.. thanks alot!!

  • Daniel Kirsch

    #2
    Re: javascript calender??

    randomtalk@gmai l.com wrote:[color=blue]
    > hi.. i want to do something like... there is a input box on the main
    > page.. and on the side of the input box there is a link called
    > "calender", when user click on that, there is a new calender opens in a
    > new window, displaying two monthes of date, then when user cilcks on
    > the date, it closes the new window, put the date into the input box in
    > this format: yyyy-mm-dd.. i heard it's something to do with:
    > href="javascrip t:OpenCalendar( )".. not too sure though.. thanks alot!![/color]




    Daniel

    Comment

    • randomtalk@gmail.com

      #3
      Re: javascript calender??

      one problem with that.. it's implemented with DHTML.. that means it
      doesn't work in any other browser other than IE.. and i'm personally
      NOT using IE.. thus i can't even see it.. i'm using opera.. thanks
      though :D

      Comment

      • RobG

        #4
        Re: javascript calender??

        randomtalk@gmai l.com wrote:[color=blue]
        > one problem with that.. it's implemented with DHTML..[/color]

        The term "DHTML" may have been coined by Microsoft, but it is
        implemented using a mix of script, markup and styles. Therefore it can
        be implemented using open standards and be browser neutral - it is not
        MS proprietary nor necessarily IE specific.
        [color=blue]
        > that means it
        > doesn't work in any other browser other than IE.. and i'm personally[/color]

        Not so. The JavaScript used for the calendar uses feature detection to
        sort whether to use document.all, document.layers or
        document.getEle mentById which is recommended best practice for being
        browser friendly.

        The various implementations at the link all seem to work in Firefox.
        [color=blue]
        > NOT using IE.. thus i can't even see it.. i'm using opera.. thanks
        > though :D[/color]

        Then it is a problem with Opera - which is not to say Opera is at
        fault, just that whatever the issue is that causes the script not to
        work with Opera, it isn't because the script is intentionally
        IE-centric.


        --
        Rob

        Comment

        • Daniel Kirsch

          #5
          Re: javascript calender??

          randomtalk@gmai l.com wrote:[color=blue]
          > one problem with that.. it's implemented with DHTML.. that means it
          > doesn't work in any other browser other than IE.. and i'm personally
          > NOT using IE.. thus i can't even see it.. i'm using opera.. thanks
          > though :D[/color]

          Of course it's implemented in DHTML. That usually just means, it uses
          HTML and JavaScript. It's nothing IE specific.
          But why don't you check it out?

          For me it works in IE, Firefox *and* Opera (7.23).

          Daniel

          Comment

          Working...