Ok, all done.  dothebart: I hope I'm not stepping on your toes here, but 
that code really needed simplification.  It took a couple of hours to get 
it right but we've got code now that makes only minimal use of time_t and 
doesn't require storing the expanded date/time fields in the event list.  
   
 The day view is working too, but it still has some rough edges.  Events 
are appearing once for each hour they span instead of as a single event 
that spans multiple hours.  I've got to fix that.  I've also got an idea 
for how we might be able to use the DOM to determine the top and bottom of 
each event box.  Basically we'd set some variables to determine the y 
offset of each hour, then call a bit of JavaScript to tell the browser 
"set the top of this box to the y offset of 11:00, and the bottom of this 
box to the y offset of 2:00."  That would eliminate the need to use 
fixed-pixel sizes for the hour lines.  
  

Reply via email to