Select Page

Calculating Interest

<script language=”JavaScript”> // Parameters are rate, total number of periods, payment made each period and future valuefunction pv(rate, nper, pmt, fv) {rate = parseFloat(rate);nper = parseFloat(nper);pmt = parseFloat(pmt);fv = parseFloat(fv);if (...

jQuery & WordPress: how to avoid common conflicts

JQuery is great for WordPress. It’s a clear and effective library for Javascript. It gives WordPress some of its best functionality. Custom JQuery code can be added to plugins and themes. This code can make something work great but kill some other standard...

Title Case Regular Expression

You feed in a string to a regular expression and it comes out in Title Case. As Perl, PHP and ASP use regular expressions, this expression is useful with a little tinkering: $x =~ s/(\w+)/\u\L$1/g; $x =~ s/(\sand|of\s)/\L$1/ig if ($x =~ /\sand|of\s/i);...
CSS: An Expanding Circle Transition

CSS: An Expanding Circle Transition

I wanted to do a transitio neffect with the following elements: Layers with backgrounds are reveled within an expanding circle. Inside of each layer there can be a background or text as well as animation effects (eg. the shrinking number) The transition delay can be...
Color Picker

Color Picker

This colour wheel allows users to choose the braces elastics they want. It’s a fun little tool. More than that, it’s a ranking magnet. A ranking magnet? Google and others assess how long a user is on a web page. This gives people a chance to experiment...