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:
- $(".jToday").jToday();
Passing a Date variable will display any given date:
- $(".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).
- <div class="jToday">2008-01-01</div>
Get the code
jToday is being offered on CodePlex. You can get the latest code here.
Labels: code, technology
2 comments:
- Ric said on April 27, 2010 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 3:48 AM ...
-
I've read some good stuff here. Definitely worth bookmarking for revisiting.
windows 7 enterprise
Post a Comment