This year’s javascript trick involves taking individual words on your page and let them float or creep away. Every time the user does not move their mouse for 5 seconds (you can change this interval), the words will start to creep. Once they move their mouse again, the words will return to their original spot.
I have been wanting to use HTML5′s local storage for a while, but I haven’t had a project where I can just ignore the older browsers. So I put together a little ( under s1Kb gzipped ) script that checks for HTML5′s local storage API, and simulates the method for browsers that do not support it. For those browsers, the script implements a nearly identical interface to localStorage for persistent storage of name/value pairs, except it uses cookies.
We are happy to announce the release of simpleCart(js) version 2.0 today. We have been working hard to add several features that you all have requested, and we’re excited to get this script in your hands. There are several new features, including GoogleCheckout, easy currency settings, tax, shipping, and a new method for adding items to your cart that requires no javascript, and allows for different inputs and options.
While working on simpleCart(js) 2.0 and a few shopping carts for clients, I found myself writing several helper functions for formatting strings and numbers. One of the most useful helpers was a toCurrency() method for numbers