Calendar with hyperlinks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhishekbrave
    New Member
    • Dec 2007
    • 79

    Calendar with hyperlinks

    Hi, I want to display a calender with all the dates as hperlink in a html page, so can it be done with the help of java script or do i need to go for some other technology , any pointers in this regard will be very helpful
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    It can be done with JavaScript, but it can also be done with HTML (though not dynamically, of course). It can also be generated from the server-side.

    Should the calendar be for the whole year or just a particular month? Please give more details.

    Comment

    • abhishekbrave
      New Member
      • Dec 2007
      • 79

      #3
      I need for a month(current month) and plz suggst also which is more feasible either by java script or by html or server side..

      Originally posted by acoder
      It can be done with JavaScript, but it can also be done with HTML (though not dynamically, of course). It can also be generated from the server-side.

      Should the calendar be for the whole year or just a particular month? Please give more details.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        That depends on how you wish to generate it. Where is the information about the dates/hyperlinks stored? What code do you have so far?

        Comment

        • abhishekbrave
          New Member
          • Dec 2007
          • 79

          #5
          So far i have created only html pages with required frame structure , I have to start from scratch ,I want to display dates for the current month and when I click on particualr date the the data corrosponding to the date will be shown in the next fram... but that is the next part , first i want to display the calender in horizontal maneer like 1 2 3 4.. 28


          Originally posted by acoder
          That depends on how you wish to generate it. Where is the information about the dates/hyperlinks stored? What code do you have so far?

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            Originally posted by abhishekbrave
            So far i have created only html pages with required frame structure , I have to start from scratch ,I want to display dates for the current month and when I click on particualr date the the data corrosponding to the date will be shown in the next fram... but that is the next part , first i want to display the calender in horizontal maneer like 1 2 3 4.. 28
            Where is the data going to come from? Next month, does the calendar/data need to change? In other words, is it static or dynamic?

            Comment

            • abhishekbrave
              New Member
              • Dec 2007
              • 79

              #7
              Originally posted by acoder
              Where is the data going to come from? Next month, does the calendar/data need to change? In other words, is it static or dynamic?
              Yes the page is dynamic -- actaully i want to show all the dates of current month like - 1 2 3 4 5 6 7 .... 28 for example for feb, the calender should be accoeding to the current time of the system , and then i will hyperlink the data page with the dates, so according to you what type of statergy i shuld use..??

              Comment

              • acoder
                Recognized Expert MVP
                • Nov 2006
                • 16032

                #8
                The data page corresponding to a date will need to be stored somewhere. Where are/will you storing/be storing this linked info. for each date? Can it be modified? How do you plan to make the modification?

                I think the best way would be to use a server-side language (PHP, ASP, Perl, JSP, Coldfusion, etc.), but you can do this in JavaScript. The only problem would be the storage aspect (since you are limited in how much you can store). Another problem is that if someone has JavaScript disabled, your calendar will be non-functional.

                Comment

                • abhishekbrave
                  New Member
                  • Dec 2007
                  • 79

                  #9
                  Originally posted by acoder
                  The data page corresponding to a date will need to be stored somewhere. Where are/will you storing/be storing this linked info. for each date? Can it be modified? How do you plan to make the modification?

                  I think the best way would be to use a server-side language (PHP, ASP, Perl, JSP, Coldfusion, etc.), but you can do this in JavaScript. The only problem would be the storage aspect (since you are limited in how much you can store). Another problem is that if someone has JavaScript disabled, your calendar will be non-functional.
                  Actually what I am planning is that when user will click on a date for example on 1 then this date will passed to a jsp/java page and then the corrosponding page will be genrated in that jsp and will get published.

                  Yes I am planning to use jsp for data storage.
                  So according to you i should use some java jsp for displaying calendar.

                  Comment

                  • acoder
                    Recognized Expert MVP
                    • Nov 2006
                    • 16032

                    #10
                    Originally posted by abhishekbrave
                    Actually what I am planning is that when user will click on a date for example on 1 then this date will passed to a jsp/java page and then the corrosponding page will be genrated in that jsp and will get published.

                    Yes I am planning to use jsp for data storage.
                    So according to you i should use some java jsp for displaying calendar.
                    You can use JavaScript for this, but since you're using JSP for the storage, I think you'd be better off using JSP to dynamically generate the calendar. I suggest you start a new thread in the Java forum and leave this here in case you want to use some JavaScript.

                    Comment

                    Working...