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
Calendar with hyperlinks
Collapse
X
-
Tags: None
-
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 acoderIt 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
-
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 acoderThat 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
-
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?Originally posted by abhishekbraveSo 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.. 28Comment
-
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..??Originally posted by acoderWhere 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
-
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
-
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.Originally posted by acoderThe 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.
Yes I am planning to use jsp for data storage.
So according to you i should use some java jsp for displaying calendar.Comment
-
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.Originally posted by abhishekbraveActually 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
Comment