|
womble -> Simple PHP calendar scripts (5/9/2007 19:22:26)
|
I've found a coupple of nice little simple PHP calendar scripts - first one here produces a nice little calendar (there's an XHTML version on that page as well) that can easily be styled with some CSS. The second one - here - is again XHTML strict/CSS, and has a nice little tooltip for events that's editable, and supports recurring events (monthly and yearly). It uses a flat file, so there's no database required. I'm trying to use the second one on a site I'm working on at the moment, but there are some problems with it with regard to accessibility. The table markup for the calendar isn't particularly accessible, but that's easily fixable with a bit of tweaking. It's keyboard navigable in that you can tab through the cells and activate the add/edit events by tabbing to the required date and hitting return, but the tooltip's set up to activate on mouseover I think, although with javascript disabled the tooltip still appears - which kind of suggests it's perhaps a CSS thing (but I can't see anything in there). Adding and editing events isn't possible without javascript either - no little window opens to enter/edit the details. I'm going to take another look at it tomorrow though when my eyes are more open and see if it's tweakable. I suppose theoretically from a user's point of view, you could put the notable dates in a <noscript> tag for the no javascript scenario, but that seems a messy way of doing it and doesn't address the keyboard navigation angle. Hmmmm, I'll ponder some more tomorrow....
|
|
|
|