navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Simple PHP calendar scripts

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> OutFront Discoveries >> Simple PHP calendar scripts
Page: [1]
 
womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
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....

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)
BobbyDouglas

 

Posts: 5470
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: Simple PHP calendar scripts - 5/10/2007 1:23:33   
I might actually be able to use parts of the second one on one of our new sites.

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to womble)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Simple PHP calendar scripts - 5/10/2007 2:29:31   
Nice find Rach!

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to BobbyDouglas)
womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Simple PHP calendar scripts - 5/10/2007 6:41:33   
Mmmm, the second one is rather lovely isn't it? :) Pity about the accessibility angle though, but I'm gonna take another look at it today now that my eyes are fully open and see if I can improve it. Last night I tried changing the 'onmouseover' to 'onfocus' and 'onblur' which failed abysmally, but then remembered that they're for inputable elements, which might have something to do with it! :) Logic would suggest that there ought to be some sort of event handler for none-inputable stuff (looks like I'd better dig the js books out again), or failing that I might have to see if I can use some PHP to pull out the current month's events and display them under the calendar, which I suppose would solve the javascript off scenario problem.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to Tailslide)
womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Simple PHP calendar scripts - 5/10/2007 9:29:24   
:) Grumpy R Us!!!!

Wombley has spent the morning trying to figure out this whole tooltip/keyboard navigation/javascript problem, unsuccessfully. Someone over at Accessify suggested wrapping the days in an empty link, as browsers can pass focus to links, solving at least the keyboard navigation issue....trouble is, they're already wrapped in a link to trigger the add and event pop-up, and it's still not playing.

Plan B is therefore to try and get at the event data held in the data file, which I should be able to use the array of data from to write out a list of events under the calendar. Not ideal and it's going to be PITA, but it's the only way forward I can think of at the moment.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to womble)
Page:   [1]

All Forums >> Community >> OutFront Discoveries >> Simple PHP calendar scripts
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts