a2wd | code & design

Archive: November 2013 a2wd

jQuery Clock Plugin

As part of the timesheets project, I have written a little jQuery clock plugin. I wanted to show the current time on both the clocking-in & out screens and also when registering/updating your profile. The basic usage is: <script type="text/javascript"> $("#clock_div").clock(); </script> Which will transform <div id="clock_div"></div> into this: -Clock- You can set the time format […]

29 Nov 2013clock / jQuery / plugin

Extending jQuery: plugins

As part of the timesheets project, I have written a little jQuery clock plugin. Part of the flexibility of jQuery is the way it handles extensions like this so gracefully. That and chaining functions together make it so useful and powerful. If you’re interested in writing your own plugin, I can recommend the following resource […]

11 Nov 2013clock / jQuery / plugin

  • Recent Posts

  • Archives