Welcome to the home of Donavon West. An independent consultant and Microsoft MVP. I'll be discussung things that are near and dear to me, including life, love, technology and politics. Are you looking for Donavon Stinson? Or possibly even Donavon Frankenreiter? (man, that dude is everywhere!)

This Blog | Home Server Hacks | LiveGadgets.net | The Swatch | VehiCROSS.net | Explore the Studio Space | Chuck Todd Facts

jQuery jToday Plugin

jToday-sample.png 

Earlier today I released my first jQuery plugin titled jProgressBar. I am please to announce that I have a second free plugin available. It's called jToday.

jToday is an easy to use jQuery plugin that displays a "Today Is" like calendar view. How easy? The calendar icon in the sample above was created with one line of JavaScript (of course there is also some CSS backing up the style of the control).

Passing nothing will display today's date:

  1. $(".jToday").jToday();

 

Passing a Date variable will display any given date:

  1. $(".jToday").jToday(new Date(2009, 3, 27));

 

You can even embed a YYYY-MM-DD date string in the HTML div element (in which case passing nothing will not display today's date).

  1. <div class="jToday">2008-01-01</div>

 

Get the code

jToday is being offered on CodePlex. You can get the latest code here.

3 comments:

Ric said on April 27, 2010 at 11:04 AM ...

Donavon,

Having some issues with jToday not finding a match for the date. I've beat my head against the wall enough, and need to see if you're willing to look at why the match statement isn't properly detecting the match for a date formatted at yyyy-MM-dd.

Please help!

 
hong_hai_long said on November 19, 2010 at 3:48 AM ...

I've read some good stuff here. Definitely worth bookmarking for revisiting.
windows 7 enterprise

 
Ruby Madison said on February 6, 2014 at 2:51 AM ...

You can buy all your concert tickets from diamond box office. Available all latest concert events. Buy melbourne ticket

 

Post a Comment