a2wd | code & design

Archive: jQuery a2wd

Do I need jQuery?

Having recently made an update to my respond theme for wordpress, I wanted to implement a mobile-targeted menu, taking into account that hover doesn’t work on smartphones and tablets. The two main options are an always-open menu or something triggered with javascript, whether that be a select field, a dropdown or a slider. Adopting a […]

29 Mar 2014javascript / jQuery / menu / mobile

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: Which will transform

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