24 ways: Front-End Code Reusability with CSS and JavaScript

December 6, 2009

css / design / javascript / jquery

Trevor Morris runs us through how JavaScript can be designed to take its configuration directly from your markup. Using the model of a jQuery plugin, learn how adding a simple class name can control how your code functions.