This Week in Patterns (TWiP) Tips is an initiative to keep me blogging regularly. From time to time I will post patterns that I currently use or new patterns that I come across. While simple in nature, JavaScript for loops are a staple of the language. Rarely do I write any decent length script where [...]
I have finished inverter, a jQuery plugin that inverts the colors of images. If using a non-IE browser, the HTML5 canvas element will be used to invert the image, but fear not…if using Internet Explorer, the ‘inverse’ CSS filter is used, making inverter cross-browser compatible. Check out the inverter project page. View the inverter demo. [...]