PDA

View Full Version : Dynamic Calender / Schedule page - need help



kargrafx
Jun 30th, 2002, 10:34 PM
I would like to set up a calendar style display of the current month which is dynamically generated to always be kept current. That in itself is no hard task, but the next step I am having trouble figuring out how to do with just javascript, which is all I can use at the current time.

I am wanting to have a separate admin style page of the calender in which those who have access to the page can add notes to a specific date, and allow those notes to be displayed to all on the regular calendar.

Basically, two linked calenders, one which allows anyone viewing it to click a date and type in a comment which is added to that date's cell in the table. The second is display-only, but updates itself to display any such comments which are added (this can be as simple as updating when it is first loaded; it does not have to update on a constant basis).

I know I could pull this off with server side languages, but I am hoping I can also do it with just javascript.

Thanks in advance for any help you may be able to provide!

kargrafx
Jul 1st, 2002, 01:45 AM
I was afraid of that. Can I get some recommendations for the most minimalistic approach to doing this? My client is wanting to avoid any charges for upgrading to a server which supports serverside languages, but I may be able to talk him into doing so...

kargrafx
Jul 1st, 2002, 04:31 AM
I had a thought - I know little of XML, but from what I do know I think it may be possible to take that approach and avoid Java or other server side programs...is that possible, or am I mis-remembering what XML is capable of?

bcarl314
Jul 1st, 2002, 12:19 PM
If your looking for a completly JavaScript solution, I think you can use server side JS to add nodes to your XML document. But you'd still need server side processing.

kargrafx
Jul 1st, 2002, 03:34 PM
I don't suppose it would be possible to have a moderator move this thread to the XML forum for me, would it?

I just hate creating multiple threads for the same question; not only is it a waste of server resources but I then have two places to check for answers...;)