View Single Post
  #2 (permalink)  
Old July 17th, 2006, 03:18 PM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

I'd actually like to be able to do those kinds of projects in a book. I tried to do a few projects like that in CSS Instant Results from the purely markup/CSS standpoint. It would have been much better were I able to use JavaScript, PHP, and MySQL, then I'd been able to create some really cool Ajax-driven stuff. Of course, the topic was limited to just CSS and markup by the publisher, so I couldn't do that.

That aside, I have made a date picker before, and I even used my calendar framework to do it. It's something that you'd have to design with the help of JavaScript or a server-side language or both. CSS cannot do it on its own.

You could either do all the date generation on the client-side, or use Ajax to fetch date information from the server-side, which is what I did in my own date picker.

As far as where to go for one, I'm not sure. I wrote my own from scratch. I'd share that code with you, but its heavily dependent on my own PHP framework and wouldn't be usable outside of that. I'd help you write one, but that's a pretty complex project, and I just don't have that kind of time ;).

My advice is to Google around till you find something that fits your needs.

Good luck with your project!

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote