Menu Content/Inhalt
Home
Tuesday, July 11, 2006

I made great progress on the calendar today. I have a calendar put together that displays two months at a time. They "scroll" together - you can go to prev/next month/year. Entire ranges cannot be selected. You can choose up to two distinct dates (which will later be start and finish) on those calendars. If you choose a third date, the first one you chose drops off. That part took the longest -- getting two calendars and their container to all talk to each other.

Now that I've done this and have a better understanding of the code behind this demo, I wonder if I could implement highlighted ranges after all. I was having trouble with highlighting across the break between months, but there's a chance that it might simply have been failing to redraw one of the calendars after the dates were selected. If that's the case, it would be an easy fix, but a lot of backtracking and changes. I will look at this tomorrow, because I think I would rather have the user be able to select a range; I feel that's more intuitive.

Here's a screenshot of my demo page:

Tile-up demo

(Blue dates are holidays and will probably go away; green dates are user-selected.) 

Tomorrow, I think I'll try to put this into the dbixdemo page so that I have something to show for all this work. Even if it's not finished, it will allow me to quickly demonstrate to someone how I've been spending my time.

Documents to keep up with:

  • progress lately, jul 6
  • jul10,11 summ (scratchpad)

Don't forget to do tomorrow:

  • Put calendar into dbixdemo for demo purposes
  • Create copy of my files to work on - save this copy! 
Last Updated ( Thursday, 12 October 2006 )
 
< Prev   Next >