javascript

Full Browser Support for localStorage without Cookies

A while back I posted a script that used cookies to simulate the localStorage interface for the HTML5 spec. While building simpleCart(js) v3, I revisited this script with the hopes achieving the same goal without using cookies. For the impatient, the 1.2kb script can be found on github.

(more…)

SimpleCart(js) V3 Beta

We are proud to announce that simpleCart(js) version 3 is ready for beta testing! We have learned a lot about what our users need and want over the past 3 years, and version 3 is a huge improvement that we hope you are going to love.

(more…)

April Fool’s Floating Text Script

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. (more…)

Simulating HTML5 Local Storage Support

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 ( <1Kb 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.  For the impatient types, you can see the repo at github or download the script(more…)